Am 07.04.2010 18:21, schrieb luis jure:

hello list.

i have a bunch of files with accented characters in their names, both
upper- and lower case. i want to rename them using the non-accented
equivalent. i thought that would be easy to do using something like tr.
big mistake. confronted with accented characters, tr outputs garbage.

searching the web, i found this: "Although the tr command respects C
locale environment variables, don't expect it to do anything sensible
with UTF-8 documents, such as being able to replace lower-case accented
characters with appropriate upper-case characters. The tr command works
best with ASCII and the other standard C locales."

i'm using es_UY.UTF8 and i can't make tr do anything useful.

any ideas?

best,

lj



Hi,
I am really not in this but maybe something like this can help you:

http://www.gentoo-wiki.info/HOWTO_Create_an_Audio_CD#Clean_up_the_file_names

Regards
kh

Reply via email to