![]() |
#11 |
Scout
Join Date: Jun 2009
Posts: 28
![]() |
I've got this working on Android now. I'm going with my first idea and storing ISO-8859-1 in wchar_t. The code is in the normal place (http://code.google.com/p/angdroid). There's an installable app package at http://angdroid.org/public_ftp/.
I wrote this code late at night and I now see one or two problems that I'll have to fix, but I don't think that they will introduce bugs to the game. My mbstowcs() implementation is a little bit off. I need to see if wcstr is null to know when I'm returning the length without a copy (I was looking at the length parameter), and I'm not supposed to null terminate wcstr if length is less than the length of the string. |
![]() |
![]() |
![]() |
#12 |
Veteran
Join Date: Apr 2008
Posts: 2,303
![]() |
Still doesn't work for PWMAngband dumps... The non-standard characters are displayed as little squares.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Include xchar or utf-8 in future? | hernaldo | ToME | 1 | July 31, 2010 21:20 |