Changes between Version 7 and Version 8 of UTF8Notes


Ignore:
Timestamp:
10/30/12 18:01:54 (4 years ago)
Author:
nckmccnnll
Comment:

Update to Android info (from david3x3x3)

Legend:

Unmodified
Added
Removed
Modified
  • UTF8Notes

    v7 v8  
    8989=== Android === 
    9090 
    91 There are significant problems in adapting an Android port to this change, as the support for wide chars in older versions of Android is lacking. I understand that '''wchar_t''' is implemented as an 8-bit quantity, and some of the support functions such as ''mbstowcs()'' are missing, or broken. It may be possible to overload this using ''Term_mbstowcs()''. ''Please update this if you make any significant progress'' 
     91There were significant problems in adapting an Android port to this change, as the support for wide chars in Android is lacking. '''wchar_t''' is implemented as an 8-bit quantity, and some of the support functions such as ''mbstowcs()'' are missing or broken. We worked around this problem by storing wide characters in 8-bit char types and using ISO-8859-1 (Latin-1) for the encoding. We implemented the missing functions by using the Java String class to convert between UTF-8 and ISO-8859-1. 
    9292 
    9393----