XML - Encoding issue

Hello,

I am trying to translate my grid and i fail when i put cyrilic values in
my xml file:

<?xml version="1.0" encoding="utf-8"?> .... And when i try reach it from the grid i get the source insted looking like this: <?xml version="1.0" encoding="utf-8"?> ....

Anu suggestions?

It turns out just an Text editor issue - hoping back to old school notepad.

[I can’t seem to find delete post button]

With Notepad + + you can change the encoding of a page in UTF8

Yeah that’s what i did. But now i have some strange issue with my database. I get the correct data string in the grid, i can add/edit/delete. But when i open my db i see strange stuff as values, tried add:

mysql_set_charset(‘cp1251’,$res);

i can pharse and work with the data, but i can’t read it when i try to open my db with navicat for example…

[kinda stuck here]

p.s. am using cp1251 in all of my files now

If database tables and Mysql client (with mysql_set_charset ) are using the same encoding I don’t have no more idea, sorry.

If you use dataProcessor the data will be encoded in UTF before sending to server side
To disable it try this : dp.enableUTFencoding(false);

source of inspiration(thx Stanislav)
http://forum.dhtmlx.com/viewtopic.php?f=6&t=21951&p=70274&hilit=set_encoding#p70274