Re: Mobile applications are unicode, why file explorer not showing UTF16 files?
- From: "Norman Diamond" <ndiamond@xxxxxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 09:13:19 +0900
<fltcpt@xxxxxxxxx> wrote in message news:1182346534.977735.311540@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I assumed common Windows Mobile applications to be double byte UNICODE aware.
Some are. Most APIs are. Some APIs don't pretend to be, some APIs do pretend to be but aren't, and most are. With applications it depends on the application.
However, when I browse files with non-ascii names, they show up as squares.
Are you using File Explorer on the device itself? If so, I think it should only depend on the font. I obtained similar results in two cases:
(1) On a normal device, I installed a font that lacked some European characters that aren't included in ordinary Japanese character sets, for example the French c-cedilla. Then I either created a theme file or directly manipulated the registry to make Windows Mobile use that font, and then rebooted. With a filename that contained the c-cedilla, that character did not show up.
(2) On a device set for the English market, I copied over some fonts, and some files with names that contained some Japanese characters and some foreign characters. But at first I didn't use a theme file or registry settings to make Windows Mobile use the Japanese fonts, so I think the effects were the same as yours. But after the registry was set to make Windows Mobile use Japanese fonts, and then rebooting, the characters all showed up correctly.
StringCchPrintf was still broken though. This didn't depend on a font, it depended on the code page for conversion from ANSI (code page 1252 in an English environment) to Unicode. As soon as it hit an English character (the pound sign) it broke. Some other APIs such as gethostname are documented as ANSI-only.
.
- Follow-Ups:
- References:
- Prev by Date: Re: How to disable power button turning off the backlight on Pocket PC?
- Next by Date: Timeout accessing Host from the Emulator
- Previous by thread: Mobile applications are unicode, why file explorer not showing UTF16 files?
- Next by thread: Re: Mobile applications are unicode, why file explorer not showing UTF16 files?
- Index(es):
Relevant Pages
|