Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: (PR#2559) Forget one thing
Home

[Freeciv-Dev] Re: (PR#2559) Forget one thing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bernd.korz@xxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2559) Forget one thing
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 29 Jan 2003 08:44:55 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Raimar Falke via RT wrote:
> On Tue, Jan 28, 2003 at 10:34:28AM -0800, Jason Short via RT wrote:
> 
>>Bernd Korz via RT wrote:
>>
>>>The problem ist that BeOS can not manage not staic bytes for Fonts so we 
>>>need fixed ones, but jdore can declear this better then me.
>>
>>Davide ran into a similar thing on an Alpha platform.
>>
>>The problem that we eventually found is that UTF-16 can be either 
>>big-endian or little-endian.  The first byte of the string indicates 
>>which: either 0xffef or 0xefff. 
> 
> 
> There are three flavors of UTF-16: "plain" UTF-16, UTF-16LE and
> UTF-16BE. To get the endian-ness of the "plain" one a byte-order-mark
> (BOM) (the 0xffef or 0xefff) is prepended to the data and the reader
> has to recognize it and act accordingly.

Indeed.  The point is SDL_ttf expects UTF-16LE on every machine we've 
tested.  But these are all little-endian machines.  Can anyone test 
gui-sdl on a big-endian machine?

jason




[Prev in Thread] Current Thread [Next in Thread]