1 |
Am 07.04.2010 18:21, schrieb luis jure: |
2 |
> |
3 |
> hello list. |
4 |
> |
5 |
> i have a bunch of files with accented characters in their names, both |
6 |
> upper- and lower case. i want to rename them using the non-accented |
7 |
> equivalent. i thought that would be easy to do using something like tr. |
8 |
> big mistake. confronted with accented characters, tr outputs garbage. |
9 |
> |
10 |
> searching the web, i found this: "Although the tr command respects C |
11 |
> locale environment variables, don't expect it to do anything sensible |
12 |
> with UTF-8 documents, such as being able to replace lower-case accented |
13 |
> characters with appropriate upper-case characters. The tr command works |
14 |
> best with ASCII and the other standard C locales." |
15 |
> |
16 |
> i'm using es_UY.UTF8 and i can't make tr do anything useful. |
17 |
> |
18 |
> any ideas? |
19 |
> |
20 |
> best, |
21 |
> |
22 |
> lj |
23 |
> |
24 |
|
25 |
|
26 |
Hi, |
27 |
I am really not in this but maybe something like this can help you: |
28 |
|
29 |
http://www.gentoo-wiki.info/HOWTO_Create_an_Audio_CD#Clean_up_the_file_names |
30 |
|
31 |
Regards |
32 |
kh |