Hi, I'm writing a program to parse latex documents that contain greek alphabets. I tried using regex to convert "\alpha" to "\x{03B1}" like this:
... use utf8; my $text = "\\alpha"; $text =~ s/\\alpha/\x{03B1}/g; print $text; ...
however, I keep getting outputs that suggest perl isn't really using unicode. Any idea why? Thanks!
In reply to unicode in perl by evian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |