Status: Accepted
Owner: [hidden email] Labels: Type-Bug Milestone-1.4 Importance-High New issue 6116 by [hidden email]: Locale plugin returning wrong isoCountry code http://code.google.com/p/pharo/issues/detail?id=6116 With Pharo COG VM, under linux, the Locale pluging return the country code with a superfluous 0 byte: If you try: export LC_ALL="zh_TW.UTF-8"; ./pharo.sh then from a workspace do a: Locale current -> a Locale(zh-TW ) Expected value is a Locale(zh-TW) It is possible to fix at image level with enclosed .cs Attachments: Locale-determineLocaleID.st 570 bytes _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Comment #1 on issue 6116 by [hidden email]: Locale plugin returning wrong isoCountry code http://code.google.com/p/pharo/issues/detail?id=6116 The problem occure with COGVM build: hilaire@pchome:~/Travaux/Developpement/DrGeoII/gforge/tmp/DrGeo.app/Contents/Linux$ ./pharo -version setlocale() failed (check values of LC_CTYPE, LANG and LC_ALL) 3.9-7 #1 ven jun 1 15:35:09 CEST 2012 version 4.1.2 CoInterpreter VMMaker-oscog-EstebanLorenzano.160 uuid: bec8cdf0-4e06-4975-8c02-e882fadf4df3 Jun 1 2012 StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.160 uuid: bec8cdf0-4e06-4975-8c02-e882fadf4df3 Jun 1 2012 https://git.gitorious.org/cogvm/blessed.git Commit: 744bfe905c78a1a5d408680a8780367ea77e0549 Date: Fri Jun 1 15:17:41 2012 +0200 By: Esteban Lorenzano <[hidden email]> Linux pharo-build.lille.inria.fr 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 14:13:46 EST 2010 i686 i686 i386 GNU/Linux plugin path: /home/hilaire/Travaux/Developpement/DrGeoII/gforge/tmp/DrGeo.app/Contents/Linux/ [default: /home/hilaire/Travaux/Developpement/DrGeoII/gforge/tmp/DrGeo.app/Contents/Linux/] _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Comment #2 on issue 6116 by [hidden email]: Locale plugin returning wrong isoCountry code http://code.google.com/p/pharo/issues/detail?id=6116 The error does not occur with this VM: hilaire@pchome:~/Travaux/Developpement/DrGeoII/DrGeo.app/Contents/Linux$ ./pharo -version 3.9-7 #1 ven avr 13 11:33:34 CEST 2012 version 4.1.2 CoInterpreter VMMaker-oscog-EstebanLorenzano.155 uuid: c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 13 2012 StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.155 uuid: c53d1f34-009e-425c-9f88-398f8d39c5e8 Apr 13 2012 https://git.gitorious.org/cogvm/blessed.git Commit: 35af19e9b5a7824d7a353a544152ad0ce8a475dd Date: Fri Apr 13 11:17:15 2012 +0200 By: Esteban Lorenzano <[hidden email]> Linux pharo-build.lille.inria.fr 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 14:13:46 EST 2010 i686 i686 i386 GNU/Linux plugin path: /home/hilaire/Travaux/Developpement/DrGeoII/DrGeo.app/Contents/Linux/ [default: /home/hilaire/Travaux/Developpement/DrGeoII/DrGeo.app/Contents/Linux/] _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Comment #3 on issue 6116 by [hidden email]: Locale plugin returning wrong isoCountry code http://code.google.com/p/pharo/issues/detail?id=6116 All in all, it break Locale and localisation based on both language and country code. I am curious to know about the effect on other OS. _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Free forum by Nabble | Edit this page |