Apache OpenOffice (AOO) Bugzilla – Issue 46963
Japanese can not input in OOo 2.0 for MacOSX
Last modified: 2008-05-17 23:54:41 UTC
I tried to use OOo 2.0 for Mac OS X (1.9.m88), but Japanese can not input. I can input Japanese in OOo 1.1.4 for Mac OS X. It is guessed that the following patch is necessary. http://www.openoffice.org/nonav/issues/showattachment.cgi/15496/osxlocale.c-040527.diff (Issue 27945)
We should update osxlocale.c with the one used in OOo 1.1.4. The above patch only fixes Japanese, but Kevin's osxlocale.c (existed in OOo 1.1.4) can fixes locale setting of any language.
ekato: could you please attach complete osxlocale.c patch for m91?
Created attachment 24826 [details] Patch for x11osx/osxlocale.c
ericb : could you please take over? now it is your turn to create cws :)
Euh... Do I again declare an older issue as duplicated ? Why didn't you use #i44528# ? -- eric bachard
reassign to maho
ericb2 : sorry for this time, but attached patch seems to be better than #i44528#
*** Issue 44528 has been marked as a duplicate of this issue. ***
set target milestone
sorry i forgot say thanks for ekato thank you very much for providing a patch!
.
install sets of 1.9m92 with x11osx/osxlocale.c patch applied are available at: ftp://ooopackages.good-day.net/pub/OpenOffice.org/MacOSX/1.9m92/ MD5 (OOo_1.9m92_MacOSXPowerPC_install_en-US.tar.bz2) = bbc08482afa01aed28ccb0c70bf3ae24 MD5 (OOo_1.9m92_MacOSXPowerPC_install_ja.tar.bz2) = 5c6e60e0441c6ce5ba924b4f24ae3570 asari, ekato, ericb, usamik : could you please these installation set and comment?
maho : thank you for your work. I try to run this build, but it does not run. run in xterm % /Applications/openoffice.org1.9.92/program/swriter display logo, and exit application.
lower prio.
ericb -> ekato Looking at your patch, I wonder if it's really kCFStringEncodingASCII ? (see above) Why isn't it kCFStringEncodingUTF8,for Panther (and later) ? @@ -132,6 +115,28 @@ fprintf( stderr, "Could not get value of CFPref AppleLanguages! Please reset your locale in the International control panel.\n" ); return( noErr ); + +#else +// Panther and later code + + CFStringRef lstr; + CFLocaleRef lref; + + lref = CFLocaleCopyCurrent(); + lstr = CFLocaleGetIdentifier(lref); + CFStringGetCString(lstr, locale, bufferLen, kCFStringEncodingASCII); ...
ekato -> ericb Since locale string returned by CFLocaleGetIdentifier() is always within ascii characters (like "en_US"), kCFStringEncodingASCII is enough, I think.
. *** This issue has been marked as a duplicate of 25416 ***
The Issue you raised has been marked as 'Resolved' and not updated within the last 1 year+. I am therefore setting this issue to 'Verified' as the first step towards Closing it. If you feel this is incorrect, please re-open the issue and add any comments. Many thanks, Andrew Cleaning-up and Closing old Issues ~ The Grand Bug Squash, pre v3 ~ http://marketing.openoffice.org/3.0/announcementbeta.html
As per previous posting: Verified -> Closed. A Closed Issue is a Happy Issue (TM). Regards, Andrew