Re: Replace accents

2016-05-10 Thread Ludovic THEBAULT
Le 10 mai 2016 à 16:31, Mark Waddingham a écrit : > normalizeText(it, "NFC") Great ! Many Thanks ! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences

Re: Replace accents

2016-05-10 Thread Mark Waddingham
On 2016-05-10 16:22, Ludovic THEBAULT wrote: If the text is typed with Livecode, it's work, but with a text opened from a file (or the list of files in a folder, like i use in this script, it doesn't work). try : on mouseup put "Bonjour à tous" into URL("file:" & specialfolderpath("Documents

Re: Replace accents

2016-05-10 Thread Ludovic THEBAULT
Le 10 mai 2016 à 15:14, John Dixon a écrit : > err... it does work under LC8.. just tried it > MacBook Pro, El Capitan, OSX 10.11.4 If the text is typed with Livecode, it's work, but with a text opened from a file (or the list of files in a folder, like i use in this script, it doesn't work)

RE: Replace accents

2016-05-10 Thread John Dixon
err... it does work under LC8.. just tried it MacBook Pro, El Capitan, OSX 10.11.4 on mouseUp put "öõÓÔÒÕÖúùû" into mytext put "áàâäãåÄÅÀÃéèêëÊËÈÉíìîïÍÎÏÌóòôöõÓÔÒÕÖúùûüÚÛÙÜÑñçÇ'" into accent put "aaoONncC_" into noaccent put 0 into cpt