[OS X TeX] path name
Peter Dyballa
Peter_Dyballa at Web.DE
Thu Feb 23 11:01:23 CET 2006
Am 23.02.2006 um 10:05 schrieb Friedrich Vosberg:
> What is necessary to do for a fine working script that does it's
> job locale and in the network too?
What kind is the server? How does Mac OS X treat its file name encoding?
iconv -l will show the encodings it supports.
Assuming that the server is MS Losedows the from value (-f) might be
CP1250.
A test would be to create when logged in to that server a file with
the name ä-ö-ü-ß.ÜÖÄ or such in a freshly created directory and then
on the Mac visit the mounted file system, cd into that almost empty
directory and see with ls -wl how this name is spelled. If it's
spelled correctly the iconv part might be unnecessary. If not, you
can test with
ls -1w | iconv -f CP1250 -t MacRoman
and other from values which converts the name correctly.
ls -1 only shows one column containing the directory or file names.
ls -w makes ls output 8 and more bits characters just as they are
without any 'interpretation,' that's the proper way to list the
contents of a directory in Mac OS X that has some 'exotic' names. ls
-1w makes the names appear correctly 'spelled' in one column.
--
Mit friedvollen Grüßen
Pete
<\
\__ O __O
| O\ _\\/\-% _`\<,
'()-'-(_)--(_) (_)/(_)
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list