Unicode support in Free bsd.

Alejandro Imass ait at p2ee.org
Thu Apr 8 20:37:36 UTC 2010


On Thu, Apr 8, 2010 at 4:22 PM, Matthew Seaman
<m.seaman at infracaninophile.co.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/04/2010 20:11:15, Kotecha, Grishma wrote:
>> Can we name files in freebsd with unicode characters?
>> Also are unicode characters supported in file i/o system calls like open, dllopen, fopen? i.e. can we open a file with unicode pathname?
>> for e.g in windows CreatefileW is used for opening files with unicode pathnames (wide characters).
[...]
> The tricky bit is getting the user-interface to interpret those names as
> Unicode (or whatever) and show you the appropriate sequence of glyphs in
> whatever character set you prefer.  In general you need to set various
> locale related environment variables plus you may need to run
> specialized terminal emulator software to enable means for entering
> non-roman characters via your keyboard.
>

I find this thread interesting because I had similar problems in FBSD
with UTF-8. The virtual terminals will not support multi-byte
characters nor several other things. Nevertheless, if you have Gnome
(and I guess KDE as well) you can configure _that_ environment quite
easily to support UTF-8.

Just add:

gdm_lang="en_US.UTF-8"

or whatever other locale you want in your rc.conf and that's it. You
can also customize this on a per-user basis. I haven't got the
languages list to work yet in GDM, but all I needed was UTF-8 anyway.
If anyone knows how to get multi-locales to work with GDM it would be
awesome. I searched several threads but noone seemed to have an aswer.

Anyway, hope this helps.

Alejandro Imass




> See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/l10n.html
>
>        Cheers,
>
>        Matthew
>
> - --
> Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>                                                  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
>                                                  Kent, CT11 9PW
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAku+OxUACgkQ8Mjk52CukIwN0wCeO9QlEcsHkjpyaTPEeXRj+luT
> F18An0n1tqLRE6nD2Mrw/XKOGoWfYoxh
> =1s6j
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list