diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-02-24 16:19:49 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 09:55:55 -0600 |
commit | ae4842abe110ac794bc4928473bca35a7c3bc143 (patch) | |
tree | 8b18954196af2130acf49dc5797a889e741a18ec /handy.h | |
parent | 61bbb4863a849ae88b9ea67d187db62a76837553 (diff) | |
download | perl-ae4842abe110ac794bc4928473bca35a7c3bc143.tar.gz |
t/test.pl: Allow native/latin1 string conversions to work on utf8.
These functions no longer have the hard-coded definitions in them,
but now end up resolving to internal functions, so that new encodings
could be added and these would automatically understand them.
Instead of using tr///, these now go character by character and
converting to/from ord, which is slower, but allows them to operate on
utf8 strings.
Peephole optimization should make these essentially no-ops on ascii
platforms.
Diffstat (limited to 'handy.h')
0 files changed, 0 insertions, 0 deletions