Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | FreeBSD porting : I18N: Operating system doesn't support locale "en_US" at startup | ||
---|---|---|---|
Product: | porting | Reporter: | maho.nakata |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, nospam4obr, philipp.lohmann |
Version: | OOo 2.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
maho.nakata
2007-04-06 03:02:34 UTC
Reassigned to obo, since vcl/unx/source/app/i18n_im.cxx
> * last change: $Author: obo $ $Date: 2006/09/17 12:32:10 $
could you please comment on this issue or reassign to the appropreate
person?
if it is appropreate to add something
#ifdef MACOSX // MacOS X always uses UTF-8 for the filesystem
osl_setThreadTextEncoding (RTL_TEXTENCODING_UTF8);
locale = SetSystemLocale( "en_US.UTF-8" );
#else
osl_setThreadTextEncoding (RTL_TEXTENCODING_ISO_8859_1);
locale = SetSystemLocale( "en_US" );
#endif
here, please reassign to me.
Hi, this code has been introduced with rev. 1.35 (CWS pj51), reassigned to obr. Oliver IIRC, I just introduced the MacOS X specific part, the default to "en_US" was already there. @pl: would it be acceptable for Linux & Solaris to use "en_US.ISO8859-1" as well, or should we introduce a new code path for FreeBSD ? A quick look in /usr/lib/locale on my system showed no en_US.ISO8859-1 but only en_US. So I tend to think that we do not want that on all systems; especially since most modern systems actually use UTF8 per default, not iso8859-1. @maho: seems like adding a FREEBSD codepath is the only acceptable quick fix. Long term, the fallback locale maybe should become a configure option. Reset assigne to the default "issues@openoffice.apache.org". |