POV-Ray : Newsgroups : povray.windows : Double-byte font trouble : Re: Double-byte font trouble Server Time
28 Jul 2024 12:31:17 EDT (-0400)
  Re: Double-byte font trouble  
From: Jon A  Cruz
Date: 23 Jan 1999 04:12:45
Message: <36A9931C.78C1BF15@geocities.com>
"Ronald L. Parker" wrote:

> On Mon, 18 Jan 1999 09:33:20 -0500, Anthony Bennett
> <ben### [at] panamaphoenixnet> wrote:
>
> >I am rendering a chinese chess set for a presentation and I need a list
> >of the character codes for the symbols. In my experiments I've had
> >trouble like
> >the guy in the previous message. I don't know a word of chinese,
> >I don't own a chinese computer or anything, but I HAVE GOT TO GET THIS
> >THING DONE. Please, whoever can help, I implore you... Help me. I don't
> >even know how to get the superpatch to output these characters. I don't
> >even know if I'm using a double byte font. I'm trying to do it with
> >MingLiU, which popped up after I installed the traditional chinese
> >multilanguage add-on for Explorer. Help me. Somebody. I've tried to find
>
> Okay, I found the problem, but I'm not sure how to deal with it.  The
> thing is, it tries to convert whatever DBCS characters you give it to
> Unicode using the Japanese locale (this is hard-coded!).  As a result,
> trying to use pure Unicode values does not work.  In fact, I can't
> even get any Japanese values to work, either, but that may be because
> I don't have the proper codepages installed.  In any event, I'm
> considering just nuking the locale support and requiring Unicode.  Is
> there any objection to this?

My suggestion is to go ahead and drop MBCS and switch to UTF-8 for Unicode.
That allows specifying Unicode chars, but ASCII chars 0-0x7f stay the same.

That way any standard POV files will work untouched, and only files edited
for a MBCS patched version would need converting. That can also eleminate a
need for a flag to signal Unicode mode.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.