1 |
hello list. |
2 |
|
3 |
i have a bunch of files with accented characters in their names, both |
4 |
upper- and lower case. i want to rename them using the non-accented |
5 |
equivalent. i thought that would be easy to do using something like tr. |
6 |
big mistake. confronted with accented characters, tr outputs garbage. |
7 |
|
8 |
searching the web, i found this: "Although the tr command respects C |
9 |
locale environment variables, don't expect it to do anything sensible |
10 |
with UTF-8 documents, such as being able to replace lower-case accented |
11 |
characters with appropriate upper-case characters. The tr command works |
12 |
best with ASCII and the other standard C locales." |
13 |
|
14 |
i'm using es_UY.UTF8 and i can't make tr do anything useful. |
15 |
|
16 |
any ideas? |
17 |
|
18 |
best, |
19 |
|
20 |
lj |