|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD and UTF-8 filename
Hi,
I read a lot of post on the net about using UTF-8 or ISO-8859-1 for filename but none of them provide a real solution. Sometimes, I download some file with french character but FreeBSD doesn't support it so it rename the file by changing all the french character with underscore (i.e: "école" become "_cole"). Is there anything I can do to make my FreeBSD support french character for filename? I use FreeBSD 7.1-RELEASE-P4 AMD64 with GENERIC Kernel |
|
||||
FreeBSDs file system has no concept of UTF-8 or any other encoding, it's just 8-bits of data as far as it is concerned.
Now other programs such as vi and xterm might not be ready to deal with it in the way you expect. What is your systems locale settings, and how are you checking these things?
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Hi TerryP,
actually, my ttys is set at cons25 I probably should set it at cons25l1 (for ISO8859-1) For the font, actually I don't have anything in my rc.conf but I should set something in this: font8x16=font_name font8x14=font_name font8x8=font_name and my locale: LANG= LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= I read that I can set LC_... in the login script but it's a file server, most of the time there's no one logged in. so it's useless. Sorry for my poor english as you can see it's not my first language |
|
||||
If you are working off a cons25, you may want to read this page on the FreeBSD wiki.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
I tried cons25, cons25l1 and xterm in my ttys
both cons25 ans cons25l1 works the same. xterm make strange thing. in my rc.conf I put: font8x8="iso-8x8" font8x14="iso-8x14" font8x16="iso-8x16" scrnmap="iso-8859-1_to_cp437" keymap="fr_CA.iso.acc.kbd" but I still can't type any french character |
|
||||
You'll find it in x11/rxvt-unicode but the binary is called urxvt.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
the problem is I don't use any gui interface. I only use console with bash
|
|
|||
Is there any support for ISO-8859-1 or it's not supported either?
|
|
|||
but as i now ISO-8859-1 support french accent...
how can I enable it to gain french accent support in my console? |
|
|||
Quote:
http://www.freebsd.org/doc/fr/books/handbook/l10n.html http://www.freebsd.org/doc/fr/books/...alization.html |
|
|||
Quote:
I'm a french-speaker, from Quebec (Canada). I met a related problem a few weeks ago, when I installed samba for file sharing on a freebsd server. The only way I found to see french characters IN CONSOLE was to specify in smb.conf (global options) "unix charset = ISO8859-1". That way, I see correctly french characters via a Windows share and via the standard freebsd text console. |
|
|||
hansivers:
that's exacly what I want. Thank you |
|
|