datagrid: on closeeditor the accents are lost
jmyepes at mac.com
Tue Feb 15 07:42:51 EST 2011
I have a datagrid that use the UTF8 to store the data.
On FillData I have:
set the unicodetext of me to uniencode(pData,"utf8")
If I load some value from the database that also use UTF8 the data are
showed fine. But when I edit some value all the accents and are lost.
In the EditValue I have:
set the dgTemplateFieldEditor["utf8text"] of the dgControl of me to
unidecode(the unicodetext of me,"utf8")
EditFieldText the long id of me, the dgIndex of me, the dgColumn of me
In the closeeditor I perform some checks but at end I have:
SetDataOfIndex the dgIndex of me, the dgColumn of me, the text of
What is wrong? :(
I read the
But I don't see the problem.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-on-closeeditor-the-accents-are-lost-tp3306707p3306707.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode