Hi there, Is there any method to convert an accented char (or string) to the not accented one? I.e from 'à éìòü' to 'aeiou' Thanks Davide -- View this message in context: http://forum.world.st/Convert-e-to-e-tp4697373.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Mmmm, i don't think so. I haven't seen anything in Character class, i think you have to do it. 2013/7/4 Davide Varvello <varvello@yahoo.com>
Hi there, Is there any method to convert an accented char (or string) to the not accented one?
I.e from 'à éìòü' to 'aeiou'
Thanks Davide
-- View this message in context: http://forum.world.st/Convert-e-to-e-tp4697373.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Am 04.07.2013 um 17:24 schrieb Davide Varvello <varvello@yahoo.com>:
Hi there, Is there any method to convert an accented char (or string) to the not accented one?
I.e from 'à éìòü' to 'aeiou'
I think your best bet when it comes to transliteration is the ICU library. There is some adaption for it. Please have a look at http://ss3.gemstone.com/ss/ICU.html/Overview http://ss3.gemstone.com/ss/ICU-V2.html/Overview Norbert
http://www.squeaksource.com/DiacriticSupport El 04/07/2013 12:24, Davide Varvello escribió:
Hi there, Is there any method to convert an accented char (or string) to the not accented one?
I.e from 'à éìòü' to 'aeiou'
Thanks Davide
-- View this message in context: http://forum.world.st/Convert-e-to-e-tp4697373.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
.
Thanks guys, I'll look at the ICU library and DiacriticSupport. Cheers Davide -- View this message in context: http://forum.world.st/Convert-e-to-e-tp4697373p4697407.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Yes, but sorry I forgot it was a long time ago for a seaside application, in a previous life. But digging a bit you should find, may be in the String methods. Hilaire Le 04/07/2013 17:24, Davide Varvello a écrit :
Hi there, Is there any method to convert an accented char (or string) to the not accented one?
I.e from 'à éìòü' to 'aeiou'
Thanks Davide
-- View this message in context: http://forum.world.st/Convert-e-to-e-tp4697373.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- Dr. Geo http://drgeo.eu
participants (5)
-
Davide Varvello -
Hernán Morales Durand -
Hilaire Fernandes -
Norbert Hartl -
Sebastian Tleye