Monthly Archives: June 2011

VASmalltalk – ICU, UCalendar 0.2.0

Ok, we have reached the version 0.2.0 and for this version most work has been spent in UCalendar class (including locales, timezones, Date, Time, DateTime) and I think, that the interface and layout for UCalendar is now stable and can … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – ICU, RegularExpressions and Character support

With version 0.1.6 some of the regular expression API calls have been wrapped and you may now use regular expressions under Unicode. | regMatcher pattern source result result2 | pattern := ‘ab*’ asUtf16String. source := ‘ababab’ asUtf16String. regMatcher := URegularExpression … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – ICU, UDateFormat

To my surprise is ws not possible to create the original DateAndTime printString format. It turns out, that ICU is able to create an ISO8601 compatible string for the time zone offset value (e.g. “+0100” is a valid zone description) … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – ICU, version 0.1.5

I’ve just published version 0.1.5 at vastgoodies.com. It is nothing more than a normal snapshot of my actual work – and is under heavy development. I added the dll mskunicode.dll as a resource to this configuration map. As I mentioned … Continue reading

Posted in Smalltalk | Tagged , | Leave a comment

VASmalltalk – ICU – Character class

after reading the specification I think that the Character class can be used for Unicode (at least in the first step) and therefore with version 0.0.31 I add a new library (mskunicode.dll) to the ICU wrapper and the only content … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – ICU: NumberFormating

now to a pretty boring topic: number formating. When writing this code I stepped into the VA code page problems I mentioned in earlier posting. Formating numbers (double, integers) are the most boring stuff, but with currencies it becomes more … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – ICU: Searching

searching of substrings in strings are perhaps one of the most wanted features in computer systems. Searching in UTF8 or UTF16 considering collation rules or locales may be pretty difficult. With version 0.0.30 I added more wrappers around the search … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – ICU: NumberFormating and Searching

With version 0.0.28 published yesterday I removed support for the VA-think-so codepage (e.g. 819 – see earlier postings) and now only converters for system platform and utf8 are available when starting the ICU wrapper – that should do the work. … Continue reading

Posted in Smalltalk | Tagged , , , | Leave a comment

VASmalltalk – CodePages – Part II

Ok, more or less VA is not really able to retrieve the current code page. They seem to go via the selected font, retrieve the char set of that font and get something like ISO8859-1 and via some strange stuff … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – CodePages …..

users of VASmalltalk can query its system, which code page they use. Running VA under a german Windows results in an answer: code page ibm-819. The native operating system is running (as you might know) under code page windows-1252. I’ve … Continue reading

Posted in Smalltalk | Tagged , , , | Leave a comment