FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ICU Bindings

 
Post new topic   Reply to topic     Forum Index -> Ares
View previous topic :: View next topic  
Author Message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Nov 26, 2004 12:10 pm    Post subject: ICU Bindings Reply with quote

ICU Unicode processing is now available for D, over here: http://www.dsource.org/forums/viewtopic.php?t=420

Currently included:
Character classification
Conversion to and from UTF16, via all the supported transcoders
Preliminary Locale support
Number formatting, and parsing
Resource bundles
UnicodeString class
Message formatting
Numeric spellout
Calendars
Date & time formatting, and parsing
Preliminary time zone support
Character properties
String searching
Text-boundary analysis
Transliteration (with issues)
Normalization
StringPrep
International domain names
Collation
Unicode Set


I'd like to submit this for consideration as part of the ongoing library effort.
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Nov 26, 2004 12:26 pm    Post subject: Reply with quote

According to IBM, ICU character-conversion supports over 200 encodings. This appears to be a listing of them http://oss.software.ibm.com/cvs/icu/~checkout~/icu/source/data/mappings/convrtrs.txt

I've hooked these converters into Mango.io, via a set of adapters that blend in seamlessly with the get/put (and <</>>) API. It should be reasonably easy to do something similar with other IO layers also.
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Nov 26, 2004 12:34 pm    Post subject: Reply with quote

Another thing to note: the ICU bindings provides extensive numeric and date/time formatting, with optional localization, resource-bundles, and rule-processing enabled.

These formatters can also parse their own dog-food, so round-tripping is a breeze.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Ares All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group