Wrong encoding when showing filesystem
Wrong encoding when showing filesystem
MyPhoneExplorer Version 1.7.2
Sony Ericsson W890i with Ukrainian language set.
When I open Files I see strange folder names:
\41A430440442430 43F43043C'44F442456\
\41F43043C'44F44244C 200B44243543B43544443E43D443\
Which look like character codes for ukrainian letters.
\41A 430 440 442 430 43F 430 43C ' 44F 442 456\
\К а р т а П а м ' я т і
How can I help to fix it ?
Sony Ericsson W890i with Ukrainian language set.
When I open Files I see strange folder names:
\41A430440442430 43F43043C'44F442456\
\41F43043C'44F44244C 200B44243543B43544443E43D443\
Which look like character codes for ukrainian letters.
\41A 430 440 442 430 43F 430 43C ' 44F 442 456\
\К а р т а П а м ' я т і
How can I help to fix it ?
Yes, this settings should be OK.
Is the charset for ukraine the same as for russia ? I think yes, maybe you set the charset for testing purposes to russia (Language for non-Unicode programs:)
Or you can also use AppLocale so you don't have to restart the PC every time: http://www.microsoft.com/globaldev/tools/apploc.mspx
Is the charset for ukraine the same as for russia ? I think yes, maybe you set the charset for testing purposes to russia (Language for non-Unicode programs:)
Or you can also use AppLocale so you don't have to restart the PC every time: http://www.microsoft.com/globaldev/tools/apploc.mspx
MPE debug log:
15:53:44.87 OBEX GetFolderListing
15:53:44.87 [TX]: 83 00 1C 42 00 19 78 2D 6F 62 65 78 2F 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 00
15:53:44.92 [RX]: A0 01 52 CB 00 00 00 06 49 01 4A 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D 38 22 3F 3E 0D 0A 3C 21 44 4F 43 54 59 50 45 20 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 20 53 59 53 54 45 4D 20 22 6F 62 65 78 2D 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 2E 64 74 64 22 3E 0D 0A 3C 21 2D 2D 0D 0A 20 58 4D 4C 20 43 6F 64 65 72 2C 20 28 43 29 20 32 30 30 31 20 53 6F 6E 79 20 45 72 69 63 73 73 6F 6E 20 4D 6F 62 69 6C 65 20 43 6F 6D 6D 75 6E 69 63 61 74 69 6F 6E 73 20 41 42 20 0D 0A 2D 2D 3E 0D 0A 3C 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 3E 3C 66 6F 6C 64 65 72 20 6E 61 6D 65 3D 22 D0 9F D0 B0 D0 BC 26 61 70 6F 73 3B D1 8F D1 82 D1 8C 20 E2 80 8B D1 82 D0 B5 D0 BB D0 B5 D1 84 D0 BE D0 BD D1 83 22 2F 3E 0D 0A 3C 66 6F 6C 64 65 72 20 6E 61 6D 65 3D 22 D0 9A D0 B0 D1 80 D1 82 D0 B0 20 D0 BF D0 B0 D0 BC 26 61 70 6F 73 3B D1 8F D1 82 D1 96 22 2F 3E 0D 0A 3C 2F 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 3E 0D 0A
Which translates into:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
<!--
XML Coder, (C) 2001 Sony Ericsson Mobile Communications AB
-->
<folder-listing version="1.0"><folder name="Пам'ять телефону"/>
<folder name="Карта пам'яті"/>
</folder-listing>
As I said: "Пам'ять телефону" and "Карта пам'яті" are ukrainian translations for Phone memory and Card memory.
15:53:44.87 OBEX GetFolderListing
15:53:44.87 [TX]: 83 00 1C 42 00 19 78 2D 6F 62 65 78 2F 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 00
15:53:44.92 [RX]: A0 01 52 CB 00 00 00 06 49 01 4A 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D 38 22 3F 3E 0D 0A 3C 21 44 4F 43 54 59 50 45 20 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 20 53 59 53 54 45 4D 20 22 6F 62 65 78 2D 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 2E 64 74 64 22 3E 0D 0A 3C 21 2D 2D 0D 0A 20 58 4D 4C 20 43 6F 64 65 72 2C 20 28 43 29 20 32 30 30 31 20 53 6F 6E 79 20 45 72 69 63 73 73 6F 6E 20 4D 6F 62 69 6C 65 20 43 6F 6D 6D 75 6E 69 63 61 74 69 6F 6E 73 20 41 42 20 0D 0A 2D 2D 3E 0D 0A 3C 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 3E 3C 66 6F 6C 64 65 72 20 6E 61 6D 65 3D 22 D0 9F D0 B0 D0 BC 26 61 70 6F 73 3B D1 8F D1 82 D1 8C 20 E2 80 8B D1 82 D0 B5 D0 BB D0 B5 D1 84 D0 BE D0 BD D1 83 22 2F 3E 0D 0A 3C 66 6F 6C 64 65 72 20 6E 61 6D 65 3D 22 D0 9A D0 B0 D1 80 D1 82 D0 B0 20 D0 BF D0 B0 D0 BC 26 61 70 6F 73 3B D1 8F D1 82 D1 96 22 2F 3E 0D 0A 3C 2F 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 3E 0D 0A
Which translates into:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
<!--
XML Coder, (C) 2001 Sony Ericsson Mobile Communications AB
-->
<folder-listing version="1.0"><folder name="Пам'ять телефону"/>
<folder name="Карта пам'яті"/>
</folder-listing>
As I said: "Пам'ять телефону" and "Карта пам'яті" are ukrainian translations for Phone memory and Card memory.
OK, i could reproduce the problem on my PC. It seems that there was a bug in the conversationroutine. It worked correct if all settings were set to russian, but for ukrainian languagesettings it worked not as it should. Please try it with the current beta and tell me if its working now.
Tried beta.
Nice, thank you very much. Didn't expected you to fixed that so quickly.
But there's still a small issue.
200B character. Looks like this:
According to http://www.fileformat.info/info/unicode ... /index.htm I would suggest you simply strip it from string when showing it.
Nice, thank you very much. Didn't expected you to fixed that so quickly.
But there's still a small issue.
200B character. Looks like this:
According to http://www.fileformat.info/info/unicode ... /index.htm I would suggest you simply strip it from string when showing it.