Go Back   Angband Forums > The real world > Oook!

Thread Tools Display Modes
Old October 13, 2011, 18:16   #11
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 ( There's an installable app package at

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's Avatar
Join Date: Apr 2008
Posts: 2,455
PowerWyrm is on a distinguished road
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 (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote

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 16:30.

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