Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 11:57:31 +0200 (CEST)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        =?ISO-8859-1?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= <jonny@jonny.eng.br>
Cc:        questions@freebsd.org
Subject:   Re: Locale data
Message-ID:  <20040715115212.D92354@mirrorball.theloosingend.net>
In-Reply-To: <40F43E22.5020607@jonny.eng.br>
References:  <40F30EAC.1090708@jonny.eng.br> <20040713202308.V97142@mirrorball.theloosingend.net> <40F43E22.5020607@jonny.eng.br>

next in thread | previous in thread | raw e-mail | index | archive | help

[Jo=E3o Carlos Mendes Lu=EDs, 2004-07-12]
>  >>      Shouldn't the locale select the best charset if it is not define=
d?
>  >>
>  >>      I have problems with this in third party applications.  They jus=
t set
>  >> locale as pt_BR and dont give me a choice of adding a charset extensi=
on.  What
>  >> should I do?  Is this a FreeBSD bug?

[Svein Halvor Halvorsen]
>  > Try making a symlink from pt_BR.ISO8859-1 to pt_BR in /usr/share/local=
e

[Jo=E3o Carlos Mendes Lu=EDs, 2004-07-13]
>       This would probably solve my problem, but I'd like to know what is =
the
>  expected behaviour.  If FreeBSD is right, I'll try to fix the applicatio=
n.


I'm not sure I understand what you mean with "expected behaviour".

In FreeBSD you need to include the character set in your locale string.
This is not a bug, but I believe by design. Whether this is conform to
somebodys "expectations" or not, I'm not sure. I don't think it is a
violation of any standards, however. But I might be mistaken.

To make some program work, that has a locale string hard coded, you might
need to make the symlink as described in my previous mail.


/sve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040715115212.D92354>