Svein Halvor Halvorsen
svein-freebsd-questions at theloosingend.net
Thu Jul 15 02:57:33 PDT 2004
[João Carlos Mendes Luís, 2004-07-12]
> >> Shouldn't the locale select the best charset if it is not defined?
> >> I have problems with this in third party applications. They just set
> >> locale as pt_BR and dont give me a choice of adding a charset extension. 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/locale
[João Carlos Mendes Luís, 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 application.
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.
More information about the freebsd-questions