From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 20:37:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77C0C1065672 for ; Thu, 8 Apr 2010 20:37:36 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 38D8C8FC16 for ; Thu, 8 Apr 2010 20:37:35 +0000 (UTC) Received: by qyk11 with SMTP id 11so1940907qyk.13 for ; Thu, 08 Apr 2010 13:37:34 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.218.137 with HTTP; Thu, 8 Apr 2010 13:37:34 -0700 (PDT) In-Reply-To: <4BBE3B16.1020300@infracaninophile.co.uk> References: <4BBE3B16.1020300@infracaninophile.co.uk> Date: Thu, 8 Apr 2010 16:37:34 -0400 X-Google-Sender-Auth: 382678a1f960ea08 Received: by 10.229.97.207 with SMTP id m15mr1146860qcn.6.1270759054474; Thu, 08 Apr 2010 13:37:34 -0700 (PDT) Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Unicode support in Free bsd. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 20:37:36 -0000 On Thu, Apr 8, 2010 at 4:22 PM, Matthew Seaman 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 pa= thnames (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. =A0In 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=3D"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 > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pri= ory Courtyard > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Kent, 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 > =3D1s6j > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >