Refactor bytes_to_utf16() into a more generic routine that also handles UTF-8
authorNicholas Clark <nick@ccl4.org>
Fri, 9 Oct 2009 08:48:57 +0000 (10:48 +0200)
committerNicholas Clark <nick@ccl4.org>
Fri, 9 Oct 2009 08:51:12 +0000 (10:51 +0200)
commitb6357110eade0edcc5ab86b05942421c02c9b897
tree5bff28f8c8931da90c251320bd7b8f1895a16afc
parent386ac4df40d7d0f9109485405028e505ec8f11d7
Refactor bytes_to_utf16() into a more generic routine that also handles UTF-8

Remove the direct code for testing UTF-8, calling bytes_to_utf() from a loop for
all 3 tested encodings.
t/comp/require.t