On 6/9/06, Branko Èibej <brane@xbc.nu> wrote:
[snip]
> > Actually, that was just the first problem. I do see the UTF-8 to
> > CP437 xlate take place successfully and then fputs is called and dumps
> > out ? instead of the special characters. I'll keep looking later, but
> > I'm not really sure what to look for. Is CP437 the wrong code page?
> CP437 is, for all intents and purposes, plain ASCII, which obviously
> doesn't support any interesting characters. It this is a strict
> (non-fuzzy) translation, then something is seriously wrong with
> apr-iconv. If it's a fuzzy translation, then it's expected; IIRC that's
> exactly what we do with untranslatable characters.
>
It's a strict translation, I think. After the xlate call
(svn_cmdline_cstring_from_utf8 succeeds and so the fuzzy version isn't
called) I see it as a 0x81, but it comes out as a ? on the console.
The CP437 came from GetConsoleCP and GetConsoleOutputCP in
svn_cmdline_init. And those are Win32 API's, so I'm not setting the
language options correctly or something for Console apps?
DJ
Received on Sat Jun 10 01:26:08 2006