|
Author: johnmci
Date: 2010-09-09 11:07:54 -0700 (Thu, 09 Sep 2010)
New Revision: 2290
Modified:
trunk/platforms/iOS/plugins/SqueakLocale/Info-SqueakLocalePlugin__Upgraded_.plist
trunk/platforms/iOS/plugins/SqueakLocale/sqMacLocaleCocoa.m
Log:
iOS locale plugin change, use UTF8
Modified: trunk/platforms/iOS/plugins/SqueakLocale/Info-SqueakLocalePlugin__Upgraded_.plist
===================================================================
--- trunk/platforms/iOS/plugins/SqueakLocale/Info-SqueakLocalePlugin__Upgraded_.plist 2010-09-08 22:31:35 UTC (rev 2289)
+++ trunk/platforms/iOS/plugins/SqueakLocale/Info-SqueakLocalePlugin__Upgraded_.plist 2010-09-09 18:07:54 UTC (rev 2290)
@@ -19,10 +19,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>2.0b1</string>
+ <string>2.1b1</string>
<key>CFBundleSignature</key>
<string>FAST</string>
<key>CFBundleVersion</key>
- <string>2</string>
+ <string>3</string>
</dict>
</plist>
Modified: trunk/platforms/iOS/plugins/SqueakLocale/sqMacLocaleCocoa.m
===================================================================
--- trunk/platforms/iOS/plugins/SqueakLocale/sqMacLocaleCocoa.m 2010-09-08 22:31:35 UTC (rev 2289)
+++ trunk/platforms/iOS/plugins/SqueakLocale/sqMacLocaleCocoa.m 2010-09-09 18:07:54 UTC (rev 2290)
@@ -104,7 +104,7 @@
[currencySymbol getBytes: str
maxLength: sqLocCurrencySymbolSize()
usedLength: &usedByteCount
- encoding: NSMacOSRomanStringEncoding
+ encoding: NSUTF8StringEncoding
options:NSStringEncodingConversionExternalRepresentation
range:NSMakeRange(0,[currencySymbol length])
remainingRange: NULL];
|