datagrid: on closeeditor the accents are lost

Trevor DeVore lists at mangomultimedia.com
Tue Feb 15 08:11:06 CST 2011


On Tue, Feb 15, 2011 at 7:42 AM, JosepM <jmyepes at mac.com> wrote:

>
> SetDataOfIndex the dgIndex of me, the dgColumn of me, the text of
> pFieldEditor
>
> What is wrong? :(
>

The text of pFieldEditor is not UTF16 or UTF8. All of your other code is
expecting UTF8 so you should probably use this with SetDataOfIndex:

unidecode(the unicodeText of pFieldEditor, "utf8")

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
LiveCode Resources for Developers: http://livecode.bluemangolearning.com


More information about the use-livecode mailing list