I have an application that is non-unicode (it uses windows codepage for UI - i know, Labview sucks) and within that app I create a label via Brother bPAC interface and save the label file.
We use this system on german + english PCs without problems but now the plant in china wants to use the same software and it will not work unfortunately.
We need special characters for the label and therefore we have a costum font where I need two symbols: U+00C0 and U+00C1. Because Labview is not capable of Unicode we simply tell to use the Latin-1 extended represetation of this symbol, what is ÀÁ.
In China the PCs were installed with chinese language but even though we installed english language pack and US keyboard layout, the active codepage is 65001 while locale in Registry is ENU and keyboard layout is EN-US.
I'm lacking ideas and I'd be grateful if someone can help me. My brain suffers under unicode.
I expected that if the locale / layout is set to US, it will map ÀÁ correctly, but unfortunately it's doing some unicode voodoo black magic and just creates two whitespaces within the label with the character "FF FE FF FE" what means "no representation".
My first approach was to create a new font where there are all characters within the first U+007E so no transformation is being made and it works. But this is no good solution as this will require the worldwide rollout of another new font and a broad change in our existing code base - our IT department is not amused.
Another approach was to give him the corresponding sign in the font character set "Windows: traditional chinese" but within the font editor I cannot find a representation.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744196391a4562676.html
评论列表(0条)