Re: [Gnome-print] Re: [jody: [ynakai redhat com: Re: Gnumeric bug 15607]]
- From: Yukihiro Nakai <ynakai redhat com>
- To: Jody Goldberg <jgoldberg home com>
- Cc: gnome-print helixcode com, havill redhat com
- Subject: Re: [Gnome-print] Re: [jody: [ynakai@redhat.com: Re: Gnumeric bug 15607]]
- Date: Sat, 16 Dec 2000 16:29:27 +0900
On Fri, 15 Dec 2000 09:12:32 -0500
Jody Goldberg <jgoldberg@home.com> wrote:
> On Tue, Dec 12, 2000 at 07:37:18PM +0900, Yukihiro Nakai wrote:
> >
> > codeset = nl_langinfo(CODESET);
> > if (codeset == NULL)
> > codeset = g_strdup("ANSI_X3.4-1968"); /* C locale codeset */
>
> Be careful using nl_langinfo. It is not yet available under *BSD.
I know it. I was the FreeBSD GNOME binaries maintainer, and still maintain some.
In *BSD, many multibyte functions specified by POSIX are not implemented.
I can write an ad-hoc patch for nl_langinfo(CODESET)in *BSD. Such as:
char*
nl_langinfo(char* codeset) {
if( !strcmp(getenv("LANG"), "ja_JP.EUC") ) {
return "EUC-JP";
}
/* zh_CN returns GB2312 */
/* ko_KR returns EUC-KR */
}
But why you suddenly say about *BSD?
HelixGNOME doesn't support *BSD, and some apps listed up in
GNOME 1.4 candidate are just for Linux. Do you know how many patches
are applied to FreeBSD ports/packages for GNOME? Do you know how long
gdm was unavailable on FreeBSD?
---
Yukihiro Nakai
Red Hat Japan, Development
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]