Re: [AD] ex_utf8 fails

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-04-02, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2010-04-01, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> > Didn't investigate myself yet, but zap0 posted the below in #allegro.
> > All other tests work fine. He was on XP and compiled Allegro 4.9.19 with
> > MSVC9.
> 
> The problem is probably that MSVC isn't treating the source as UTF-8
> encoded.  Apparently one way to force it to do that is to add a byte
> order mark (U+FEFF) to the start of the file, but gcc doesn't like that.

Actually MSVC9 (at least) can detect UTF-8 source without the BOM fine.
The problem is only with the L'' wide characters.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/