On Wed, Mar 12, 2008 at 09:49:25AM -0400, Whit Armstrong wrote: > xs5-trd-p1.grn:warmstro> uname -a > SunOS xs5-trd-p1.grn.tudor.com 5.9 Generic_118558-38 sun4u sparc > SUNW,Sun-Fire-V240 Solaris > > the Unrecognized switch: -O is from the perl call: > > ++ perl -CO -e 'print pack("U",0x00E4)' > Unrecognized switch: -O (-h will show valid options). > + auml= > ++ perl -CO -e 'print pack("U",0x0061).pack("U",0x0308)' > Unrecognized switch: -O (-h will show valid options). > + aumlcdiar= Yes, perl 5.005 doesn't understand -CO. You can replace that with "binmode STDOUT, ':utf8'", but then you will find that it also doesn't understand "U" as a pack specifier. :) While the perl code nicely shows what is going on, perhaps it would be simpler to just do something like: auml=`printf '\xc3\xa4'` (which is the output that the perl gives on my Linux system). -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html