public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] help renaming files
@ 2010-04-07 16:21 luis jure
  2010-04-07 16:32 ` KH
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: luis jure @ 2010-04-07 16:21 UTC (permalink / raw
  To: gentoo-user


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-07 19:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-07 16:21 [gentoo-user] help renaming files luis jure
2010-04-07 16:32 ` KH
2010-04-07 17:29 ` Jonas de Buhr
2010-04-07 19:01 ` [gentoo-user] " Kerin Millar
2010-04-07 19:47   ` luis jure

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox