Re: datagrid: on closeeditor the accents are lost

2011-02-15 Thread Trevor DeVore
On Tue, Feb 15, 2011 at 7:42 AM, JosepM jmye...@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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: datagrid: on closeeditor the accents are lost

2011-02-15 Thread JosepM

Hi Trevor,

Using this:

SetDataOfIndex the dgIndex of me, the dgColumn of me, unidecode(the
unicodeText of pFieldEditor, utf8)

Don't work. Still losing the accents...

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/datagrid-on-closeeditor-the-accents-are-lost-tp3306707p3307770.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode