| Re: [hatari-users] Accents in UI | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-users Archives
] 
- To: hatari-users@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-users] Accents in UI
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Wed, 10 Oct 2012 23:33:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20120113;        h=sender:message-id:date:from:user-agent:mime-version:to:subject         :references:in-reply-to:content-type:content-transfer-encoding;        bh=OFaB4aCbim7Mhq9aOmEi46ZkV37jFcXCMhVsbwDd3vY=;        b=Q/WaJ4s0asdE5oA3UwojlO51Dtj8kO+xtqAsIZu9Dy+V+//eQ66X5x63v8Ppuzvvdd         6kjyNwDBBrMPcHgbbF2BIVU73m/O4gDrg/J+g4fkAsRU587ad3RNCtR4CvuzwRsEgxPz         AUTR93SHuOe14U9j6pTWZ9IW5NeaddnZ8tOL1k+gRJH3Gs+uRwFVGsqZrIgRPSib8nlt         CSn1YAXPUsNjmj4NYC8eASfbZXiESWBGMr2hb2Om76T2yqP+nCLj5+JSTOeRhQr75xXT         BgOAZuU2ZfgueGAXHLNMB+vPFtih8cEXM19RHNUaexS7jJBynmak/cIvaoW+kXmCMjDN         Ks6g==
On 10/10/2012 23:25, Thomas Huth wrote:
Yes, the Hatari UI completely lacks i18n support. The font that we use
supports the characters from latin-1 (see src/gui-sdl/font10x16.bmp),
but if your host system uses UTF-8 or Windows-1252 code pages, this
likely results in wrong characters.
Indeed, my French Windows XP uses Windows-1252 as code page.
But Windows-1252 is almost the same as latin1, so if you blindly consider 
that the charset is latin1, it will work.
Do you know the code of the characters that are not displayed right?
Very common ones, such as é
NB: Beware of default char singned/unsigned issues. It varies among 
compilers. Just in case...
--
Vincent Rivière