Re: [AD] ex_utf8 fails

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


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.

Another solution is to externalise the strings into a config file.
Honestly I'd rather just disable the example on MSVC in that case.

Peter




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