I have a user using a Portuguese version of WM 6.1 and he reports that my screen capture program does not display folder names correctly. He says they show up in strange characters and if he selects them the app crashes.
I read that B4PPC uses Unicode by default so I would expect that the language would not be a problem.
I read in another post about setting up text files for text used in a program in different languages but these stringhs are being supplied by the OS.
It occurs when loading a TreeView control with the folder tree of the device. The TreeView displays fine (with strange characters) and only produces an error when a folder is selected and it tries to access that folder.
In simple terms my tree is loaded using the DirSearch function. Is there something I can do to remedy this? Is it something wrong in his device setup?
I tested the TreeView control with some Portuguese characters and it appears to display fine.
It is possible that if the text is not displayed correctly that later when you retrieve the text it doesn't hold the unrecognized characters.
I use DirSearch to retrieve device folders and AddNode to add them to TreeView. Other than sorting the array returned by DirSearch, the folder names are not processed between DirSearch and AddNode.
The user wrote:
I noticed it doesn't seem to support unicode... Or has some issues
My WM 6.1 system is in Portuguese and some dirs are translated:
"My Memory"->"A minha memória"
"Memory Card"->"Cartão de Memória"
In capsure menu those "starnge chars" like ó and ã display as an odd symbol (when selecting the save folder) and if any folder with those is selected the app just crashes...
Ordinarily substitution of accented characteres would indicate that there is a encoding/codepage problem but as everything on a device is supposed to be Unicode I have no idea how this can happen.
One problem than can make this to happen is the user to have a "non-oficial" ROM, with some text stuff mixed....
I gave up on My Oficial Portuguese ROM as it had a lot of small bugs, some of them text characters related...
I now have an English ROM, and even if I use Portuguese accented strings, I have no problem with none of my apps..
One problem than can make this to happen is the user to have a "non-oficial" ROM, with some text stuff mixed....
I gave up on My Oficial Portuguese ROM as it had a lot of small bugs, some of them text characters related...
I now have an English ROM, and even if I use Portuguese accented strings, I have no problem with none of my apps..