note
soonix
<p>[metamod://utf8] enables not only Unicode string constants, but also Unicode identifiers (variables, methods, subroutines, …).</p>
If you use Unicode only in String constants (and only occasionally), then it is even possible to stay in ASCII and use [metamod://charnames]' <c>\N{CHARNAME}</c> sequences, so that e.g.<c>
my $default_name = '\N{LATIN CAPITAL LETTER AE WITH MACRON}sop';
</c><p>would be equivalent to your example. With Perl v5.16 or later, you don't even need to explicitly <c>use charnames</c> for these sequences.</p>
This approach also avoids problems with several (mostly web) frontends of git (or other) repositories that don't handle Unicode well.
1211014
11122303