summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-07-31 04:15:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-07-31 04:15:02 +0000
commitdea0fc0b9e5a61b92c4be2ecafe0a8d9396d4cc1 (patch)
tree349418eaad4586c0413b7deb1e36247b8098aa26 /embed.pl
parent24142eb29e13a3c1fffe9021ceab90a4be7b9da1 (diff)
downloadperl-dea0fc0b9e5a61b92c4be2ecafe0a8d9396d4cc1.tar.gz
The swallow_bom() saga continues. The #23 of require.t
(UTF16-LE) still fails (silently, no output) but the #22 (UTF16-BE) seems to be working now. The root of the failure may be in sv_gets(): is it UTF-16LE-aware, especially when it comes to line endings? p4raw-id: //depot/perl@6469
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.pl b/embed.pl
index a3adadc11c..0848eec646 100755
--- a/embed.pl
+++ b/embed.pl
@@ -2064,8 +2064,8 @@ Ap |void |unlock_condpair|void* svv
Ap |void |unsharepvn |const char* sv|I32 len|U32 hash
p |void |unshare_hek |HEK* hek
p |void |utilize |int aver|I32 floor|OP* version|OP* id|OP* arg
-Ap |U8* |utf16_to_utf8 |U16* p|U8 *d|I32 bytelen
-Ap |U8* |utf16_to_utf8_reversed|U16* p|U8 *d|I32 bytelen
+Ap |U8* |utf16_to_utf8 |U8* p|U8 *d|I32 bytelen|I32 *newlen
+Ap |U8* |utf16_to_utf8_reversed|U8* p|U8 *d|I32 bytelen|I32 *newlen
Ap |I32 |utf8_distance |U8 *a|U8 *b
Ap |U8* |utf8_hop |U8 *s|I32 off
ApM |U8* |utf8_to_bytes |U8 *s|STRLEN len