On 2010-09-09, at 8:21 AM, Philippe Marschall wrote:
There is also issues withe currency symbol, the logic assumes it's one byte, but it could be a unicode value if you decide between the international symbol versus localized regional symbol. I think the plugin is flawed in that respect.
Answers 'SFr.' where quite nicely.
Cheers Philippe
Ok I've placed a LocalePlugin 2.1b1.bundle.zip on the server. It has a minor fix where I did the length calculation in UTF8 then asked for the data in MacRoman. Must not write email when tired. It's the currency decimal and grouping separators that are fixed as 1 byte. Also currency uses the international symbol(s) in UTF8 versus the regional value which might be different and at some different point in the unicode chart. -- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================