From: Karl Williamson Date: Fri, 15 May 2015 16:59:54 +0000 (-0600) Subject: Add macro for converting Latin1 to UTF-8, and use it X-Git-Tag: if-0.0605~82 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/a62b247b9f3d5cc6214f83defea2e06d12398275?hp=a62b247b9f3d5cc6214f83defea2e06d12398275 Add macro for converting Latin1 to UTF-8, and use it This adds a macro that converts a code point in the ASCII 128-255 range to UTF-8, and changes existing code to use it when the range is known to be restricted to this one, rather than the previous macro which accepted a wider range (any code point representable by 2 bytes), but had an extra test on EBCDIC platforms, hence was larger than necessary and slightly slower. ---