#!/usr/bin/perl use strict; use warnings; my $text = "\\alpha"; $text =~ s/\\alpha/\x{03B1}/g; binmode STDOUT, ':encoding(utf8)'; print "$text\n";
In reply to Re: unicode in perl
by Khen1950fx
in thread unicode in perl
by evian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |