[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] hi-bit characters in regex's



I wrote a script to rename files & directories for me.  Basically I 
burn my MP3's to dual format CD's (Joliet & HFS) so i could listen to 
them at work on my NT box.  I got tired of that error in Toast 
warning of invalid names, so I wrote my script (by the way, I've 
found that Toast allows some names that are invalid on windows, 
mainly files that end in a space -- illegal on Windows systems, if 
you have a dual format cd with a space at the end of one of the names 
that file will not work on the windows side).

Anyway to make a long story short, I discovered that both mac and 
windows allow high-order characters in the filenames (discovered this 
on the Husker Du album, the u's have those 2 little dot's over them). 
Does anyone know how I can test for these characters in a regex?  Is 
there a standard octal code for these characters (I always thought 
they were font specific)?

The only characters I know for sure that work on both sides are the 
u's with 2 dots and the o with the ' over it.  My apologies for not 
knowing the proper names for these characters, i'm betraying my poor 
education (hey I took latin in high school, sorry).

Thanks - Kevin

P.S. if anyone is interested i'll glady offer my script to the world, 
but i'll warn you it's pretty rough looking 8-)

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org