Difference between revisions of "UTF8 Perl"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: = Encoding æ ø å Æ Ø Å = <source lang="perl"> my $str = "\n"; my @danishUTF = ( "\303\246", # Danish UTF æ "\303\270", # Danish UTF ø "\303\245", # Danish UTF å "\303\206"...)
 
m
Line 11: Line 11:
 
);
 
);
 
</source>
 
</source>
 +
[[category:Programming]][[Category:Perl]]

Revision as of 07:48, 9 June 2009

Encoding æ ø å Æ Ø Å

my $str = "\n";
my @danishUTF = (
  "\303\246", # Danish UTF æ
  "\303\270", # Danish UTF ø
  "\303\245", # Danish UTF å
  "\303\206", # Danish UTF Æ
  "\303\230", # Danish UTF Ø
  "\303\205", # Danish UTF Å
);