Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Oook!

Reply
 
Thread Tools Display Modes
Old October 13, 2011, 18:16   #11
david3x3x3
Scout
 
Join Date: Jun 2009
Posts: 28
david3x3x3 is on a distinguished road
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.
david3x3x3 is offline   Reply With Quote
Old September 10, 2013, 13:38   #12
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,417
PowerWyrm is on a distinguished road
Quote:
Originally Posted by pav View Post
Aha. Should be fine for the dump content now. Should I expect utf-8 to ever appear in character class, race and name fields? (Also it's funny that this bb software is not utf-8 enabled. When I flipped the charset on it, Timo lost his ...)
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!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Include xchar or utf-8 in future? hernaldo ToME 1 July 31, 2010 22:20


All times are GMT +1. The time now is 11:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.