accents in file names
Chris Rees
utisoft at googlemail.com
Thu Feb 12 15:09:59 PST 2009
2009/2/12 Chuck Swiger <cswiger at mac.com>:
> On Feb 12, 2009, at 1:46 PM, Daniel Leal wrote:
>>
>> is there a way to have a freebsd system with file names with accented
>> words. Like "filé.txt" instead of "file.txt". Now if I copy a file with an
>> accented letter to my freebsd box, the accented letter simply disappear.
>
> UFS supports 8-bit characters except for "/" and "\0", but you also need to
> run a terminal with UTF8 support and use a correct font to view such things.
> Perhaps this might give you some insight:
>
> http://www.cl.cam.ac.uk/~mgk25/unicode.html
>
> Note that other file systems have more comprehensive Unicode support:
>
> http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits
>
> Perhaps I'm biased, but I've long been of the opinion that the Mac platform
> with HFS+ has very good internationalization support.
>
> Regards,
> --
> -Chuck
>
> _______________________________________________
> 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"
>
Yeah, I love the way you're allowed a / in filenames on the Mac. Makes
me snigger...
How are you copying the files over?
On my Mac:
[chris at zeus]~% touch bluurgh\303\251 #\303\251 is what comes up
when I make an é
[chris at zeus]~% ls
5500plugin.tar NetBeansProjects/ hist200.txt
Applications/ Pictures/ hist300.txt
Desktop/ Public/ hist600.txt
Documents/ Rips/ hist900.txt
Library/ Sites/ public_html@
Movies/ bluurghe?? xcodeJava/
Music/ drop/
[chris at zeus]~% ls |grep bluu
bluurghé
[chris at zeus]~%
Look! grep supports that character, but ls doesn't show it properly...
so scp works fine...
[chris at zeus]~% scp bluurghe\314\201 amnesiac.bayofrum.net:.
bluurghé 100% 0 0.0KB/s 00:00
[chris at zeus]~% ssh amnesiac.bayofrum.net 'ls |grep blu'
bluurghé
[chris at zeus]~% ssh amnesiac.bayofrum.net 'rm blu*'
Samba seems to do strange things though; copied it over with samba
[chris at zeus]~% ssh amnesiac.bayofrum.net 'ls |grep blu'
bluurghé*
[chris at zeus]~%
What's with the *?
and after nfs:
[chris at zeus]~% sudo mount -t nfs amnesiac.bayofrum.net:/usr/home/chris
Applications
[chris at zeus]~% cp bluurghe\314\201 Applications/
[chris at zeus]~% ssh amnesiac.bayofrum.net 'ls |grep blu'
bluurghé
[chris at zeus]~%
What?? Why does it work OK with nfs and scp, but not samba?
Really wouldn't bother unless you spend your time exclusively in GUI
environments, just seems a real hassle.
Chris
--
R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf)
More information about the freebsd-questions
mailing list