| /openbsd-src/gnu/usr.bin/perl/cpan/version/t/ |
| H A D | 07locale.t | 87 af_ZA.UTF-8 90 an_ES.UTF-8 92 az_AZ.UTF-8 95 be_BY.UTF-8 98 bg_BG.UTF-8 102 br_FR.UTF-8 105 bs_BA.UTF-8 109 ca_ES.UTF-8 112 cs_CZ.UTF-8 115 da_DK.UTF [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Encode/t/ |
| H A D | Unicode.t | 58 is($n_16be, encode('UTF-16BE', $nasty), qq{encode UTF-16BE}); 59 is($n_16le, encode('UTF-16LE', $nasty), qq{encode UTF-16LE}); 60 is($n_32be, encode('UTF-32BE', $nasty), qq{encode UTF-32BE}); 61 is($n_32le, encode('UTF-32LE', $nasty), qq{encode UTF-16LE}); 63 is($nasty, decode('UTF-16BE', $n_16be), qq{decode UTF [all...] |
| H A D | utf8warnings.t | 3 BEGIN { 'warnings'->unimport('utf8') if $] < 5.014 }; # turn off 'UTF-16 surrogate 0xd800' warnings 14 …! defined eval { encode('UTF-8', "\x{D800}", FB_CROAK | LEAVE_SRC) }, 'Surrogate codepoint \x{D800… 15 like $@, qr/^"\\x\{d800\}" does not map to UTF-8 at $script line /, 'Error message contains strict … 17 encode('UTF-8', "\x{D800}", sub { @invalid = @_; return ""; }); 20 …d eval { decode('UTF-8', "\xed\xa0\x80", FB_CROAK | LEAVE_SRC) }, 'Surrogate UTF-8 byte sequence \… 21 like $@, qr/^UTF-8 "\\xED\\xA0\\x80" does not map to Unicode at $script line /, 'Error message cont… 23 decode('UTF-8', "\xed\xa0\x80", sub { @invalid = @_; return ""; }); 26 …defined eval { decode('UTF-8', "\xed\xa0", FB_CROAK | LEAVE_SRC) }, 'Invalid byte sequence \xED\xA… 27 like $@, qr/^UTF-8 "\\xED\\xA0" does not map to Unicode at $script line /, 'Error message contains … 29 decode('UTF-8', "\xed\xa0", sub { @invalid = @_; return ""; });
|
| H A D | mime-header.t | 92 # RT114034 - replace invalid UTF-8 sequence with unicode replacement character 126 "[=?UTF-8?B?ZsOzcnVt?=]=?UTF-8?B?IHNwcsOhdmE=?=" => "[fórum] správa", 127 "test:=?UTF-8?B?IHNwcsOhdmE=?=" => "test: správa", 128 "=?UTF-8?B?dMOpc3Q=?=:=?UTF-8?B?IHNwcsOhdmE=?=", "tést: správa", 134 "=?UTF-8?Q?=C3?= =?UTF-8?Q?=A1?=" => "á", 135 # RT114034 - use strict UTF-8 decoder for invalid MIME charsets utf8, UTF8 and utf-8-strict 140 "=?UTF [all...] |
| H A D | truncated_utf8.t | 34 is(decode("UTF-8", "\xfd\xfe"), "\x{fffd}" x 2); 35 is(decode("UTF-8", "\xfd\xfe\xff"), "\x{fffd}" x 3); 36 is(decode("UTF-8", "\xfd\xfe\xff\xe0"), "\x{fffd}" x 4); 37 is(decode("UTF-8", "\xfd\xfe\xff\xe0\xe1"), "\x{fffd}" x 5); 38 is(decode("UTF-8", "\xc1\x9f"), "\x{fffd}"); 39 is(decode("UTF-8", "\xFF\x80\x90\x80\x80\x80\x80\x80\x80\x80\x80\x80\x80"), "\x{fffd}"); 40 is(decode("UTF-8", "\xF0\x80\x80\x80"), "\x{fffd}"); 46 open my $fh, '<:encoding(UTF-8)', \$str; 54 open my $fh, '<:encoding(UTF-8)', \$str;
|
| H A D | guess.t | 27 my $utf16 = encode('UTF-16', $utf8on); 28 my $utf32 = encode('UTF-32', $utf8on); 36 is(guess_encoding($utf16)->name, 'UTF-16', 'UTF-16'); 37 is(guess_encoding($utf32)->name, 'UTF-32', 'UTF-32'); 94 for my $utf (qw/UTF-16 UTF-32/){ 101 my $test = encode("UTF-16$bl" => $ambiguous); 103 ok(! ref($result), "UTF [all...] |
| H A D | magic.t | 27 my $utf8 = find_encoding('UTF-8'); 28 my $utf16 = find_encoding('UTF-16LE'); 38 foreach my $enc ('ASCII', 'Latin1', 'UTF-8', 'UTF-16LE') { 46 is($output, ((defined $str and $enc eq 'UTF-16LE') ? encode("UTF-16LE", $str) : $str), "$func returns correct \$output string"); 48 foreach my $enc ('ASCII', 'Latin1', 'UTF-8', 'UTF-16LE') { 51 my $input_str = ((defined $str and $enc eq 'UTF-16LE') ? encode("UTF [all...] |
| /openbsd-src/gnu/usr.bin/perl/t/lib/warnings/ |
| H A D | regexec | 121 # NAME Wide character in non-UTF-8 locale 151 # NAME Wide character in UTF-8 locale 162 print("SKIPPED\n# no UTF-8 locales\n"),exit; 174 # NAME \b{} in non-UTF-8 locale 190 Use of \b{} or \B{} for non-UTF-8 locale is wrong. Assuming a UTF-8 locale at - line 12. 191 Use of \b{} or \B{} for non-UTF-8 locale is wrong. Assuming a UTF-8 locale at - line 12. 193 # NAME \b{} in UTF-8 locale 204 print("SKIPPED\n# No UTF [all...] |
| H A D | utf8 | 5 Malformed UTF-8 character 8 Malformed UTF-8 character 13 Malformed UTF-16 surrogate 21 print "SKIPPED\n# ebcdic platforms generates different Malformed UTF-8 warnings."; 29 Malformed UTF-8 character: \xf8\x73\x74\x6f\x72 (unexpected non-continuation byte 0x73, immediately… 30 Malformed UTF-8 character (fatal) at - line 10. 35 print "SKIPPED\n# ebcdic platforms generates different Malformed UTF-8 warnings."; 43 Malformed UTF-8 character: \xf8\x73\x74\x6f\x72 (unexpected non-continuation byte 0x73, immediately… 44 Malformed UTF-8 character (fatal) at - line 9. 75 Operation "uc" returns its argument for UTF-16 surrogate U+D800 at - line 3. [all …]
|
| /openbsd-src/share/locale/ctype/ |
| H A D | Makefile | 9 all: UTF-8.out 11 UTF-8.out: en_US.UTF-8.src 12 mklocale -o ${.TARGET} ${.CURDIR}/en_US.UTF-8.src 14 CLEANFILES+= UTF-8.out 18 ${DESTDIR}${LOCALEDIR}/UTF-8 20 UTF-8.out ${DESTDIR}${LOCALEDIR}/UTF-8/LC_CTYPE
|
| /openbsd-src/usr.bin/calendar/calendars/de_DE.UTF-8/ |
| H A D | calendar.all | 10 #include <de_DE.UTF-8/calendar.feiertag> 11 #include <de_DE.UTF-8/calendar.geschichte> 12 #include <de_DE.UTF-8/calendar.kirche> 13 #include <de_DE.UTF-8/calendar.literatur> 14 #include <de_DE.UTF-8/calendar.musik> 15 #include <de_DE.UTF-8/calendar.wissenschaft> 17 #endif /* !_de_DE.UTF-8_all_ */
|
| /openbsd-src/usr.bin/file/magdir/ |
| H A D | unicode | 9 0 string +/v8 Unicode text, UTF-7 10 0 string +/v9 Unicode text, UTF-7 11 0 string +/v+ Unicode text, UTF-7 12 0 string +/v/ Unicode text, UTF-7 13 0 string \335\163\146\163 Unicode text, UTF-8-EBCDIC 14 0 string \000\000\376\377 Unicode text, UTF-32, big-endian 15 0 string \377\376\000\000 Unicode text, UTF-32, little-endian
|
| /openbsd-src/gnu/usr.bin/perl/t/lib/croak/ |
| H A D | toke_l1 | 6 Malformed UTF-8 character: \xc3\x0a (unexpected non-continuation byte 0x0a, immediately after start… 7 Malformed UTF-8 character (fatal) at - line 1. 14 Malformed UTF-8 character: \xc3\xc3 (unexpected non-continuation byte 0xc3, immediately after start… 15 Malformed UTF-8 character (fatal) at - line 2. 20 Malformed UTF-8 character: \xc1\x27 (unexpected non-continuation byte 0x27, immediately after start… 21 Malformed UTF-8 character: \xc1\x27 (any UTF-8 sequence that starts with "\xc1" is overlong which c… 22 Malformed UTF-8 character (fatal) at - line 1.
|
| /openbsd-src/gnu/usr.bin/perl/t/uni/ |
| H A D | method.t | 106 like( Føø::Bær::new("Føø::Bær"), qr/Føø::Bær=HASH/u, 'Can access new directly through a UTF-8 packa… 107 like( Føø::Bær->new, qr/Føø::Bær=HASH/u, 'Can access new as a method through a UTF-8 package.' ); 108 like( Føø::Bær::nèw("Føø::Bær"), qr/Føø::Bær=HASH/u, 'Can access nèw directly through a UTF-8 packa… 109 like( Føø::Bær->nèw, qr/Føø::Bær=HASH/u, 'Can access nèw as a method through a UTF-8 package.' ); 147 …"Can't access [$newoct], stored in a scalar, as a method, when the UTF-8 package name is also in a… 183 ok(Foo::Bar->nèw, 'Even with UTF-8 methods'); 186 ok(Foo::Bàz->nèw, 'Even with UTF-8 methods'); 188 ok(ฟọ::バッズ->new, 'parent using -norequire, in a UTF-8 package.'); 189 ok(ฟọ::バッズ->nèw, 'Also works with UTF-8 methods'); 190 ok(ฟọ::バッズ->ニュー, 'Even methods from an UTF-8 parent');
|
| /openbsd-src/usr.bin/calendar/calendars/ru_RU.UTF-8/ |
| H A D | calendar.all | 10 #include <ru_RU.UTF-8/calendar.common> 11 #include <ru_RU.UTF-8/calendar.pagan> 12 #include <ru_RU.UTF-8/calendar.orthodox> 13 #include <ru_RU.UTF-8/calendar.primety> 14 #include <ru_RU.UTF-8/calendar.history>
|
| /openbsd-src/usr.bin/calendar/calendars/fr_FR.UTF-8/ |
| H A D | calendar.all | 10 #include <fr_FR.UTF-8/calendar.jferies> 11 #include <fr_FR.UTF-8/calendar.fetes> 12 #include <fr_FR.UTF-8/calendar.proverbes> 14 #endif /* !_fr_FR.UTF-8_all_ */
|
| /openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/data/snippets/man/ |
| H A D | utf8-nonbreaking | 2 UTF-8 non-breaking space 10 =head1 SE<lt>E<gt> output with UTF-8 15 .SH "S<> output with UTF\-8" 16 .IX Header "S<> output with UTF-8"
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perlunifaq.pod | 56 example, if it was UTF-8, the individual bytes of multibyte characters are seen 57 as separate characters, and then again converted to UTF-8. Such double encoding 77 =item * Otherwise, Perl outputs the string encoded as UTF-8. This only happens 87 Because the internal format is often UTF-8, these bugs are hard to spot, 88 because UTF-8 is usually the encoding you wanted! But don't be lazy, and don't 89 use the fact that Perl's internal format is UTF-8 to your advantage. Encode 102 open my $fh, '>:encoding(UTF-8)', $filename; # auto encoding on write 103 open my $fh, '<:encoding(UTF-8)', $filename; # auto decoding on read 107 binmode $fh, ':encoding(UTF-8)'; 110 that is sometimes limited to the UTF-8 encoding. [all …]
|
| H A D | perluniintro.pod | 136 forms>, of which I<UTF-8> is the most popular. UTF-8 is a 139 include UTF-16 and UTF-32 and their big- and little-endian variants 140 (UTF-8 is byte-order independent). The ISO/IEC 10646 defines the UCS-2 173 utf8> is needed: if your Perl script itself is encoded in UTF-8, you can 174 use UTF-8 in your identifier names, and in string and regular expression 192 UTF-8, to encode Unicode strings. Specifically, if all code points in 194 character set. Otherwise, it uses UTF-8. 200 (the native character set or UTF [all...] |
| /openbsd-src/usr.bin/calendar/ |
| H A D | Makefile | 5 INTER= de_DE.UTF-8 hr_HR.UTF-8 ru_RU.UTF-8 fr_FR.UTF-8
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | dquote.c | 87 const bool UTF, /* Is it in UTF-8? */ in Perl_form_alien_digit_msg() argument 111 || (UTF && isUTF8_CHAR((U8 *) first_bad, (U8 *) send))) in Perl_form_alien_digit_msg() 238 const bool UTF) in Perl_grok_bslash_o() argument 350 *s += (UTF) ? UTF8_SAFE_SKIP(*s, send) : 1; in Perl_grok_bslash_o() 357 UTF, TRUE); in Perl_grok_bslash_o() 380 const bool UTF) in Perl_grok_bslash_x() argument 461 *s += (UTF) ? UTF8_SAFE_SKIP(*s, send) : 1; in Perl_grok_bslash_x() 467 send, UTF, FALSE); in Perl_grok_bslash_x() 540 *s += (UTF) ? UTF8_SAFE_SKIP(*s, send) : 1; in Perl_grok_bslash_x() 547 send, UTF, TRUE); in Perl_grok_bslash_x()
|
| H A D | README.jp | 45 UCS-2BE UCS-2LE UTF-16 UTF-16BE 46 UTF-16LE UTF-32 UTF-32BE UTF-32LE 51 例えば、文字コードFOOのファイルをUTF-8に変換するには、以下のようにします。 191 UTF-8 and Unicode FAQ for Unix/Linux 195 UTF-8 and Unicode FAQ for Unix/Linux (ハングル訳)
|
| H A D | regcomp_internal.h | 273 * Note that the UTF macro is itself a wrapper around RExC_utf8, so all 285 * the right thing depending on whether we are parsing UTF-8 strings 286 * or not. The 'flag' argument determines if content is UTF-8 or not, 287 * intended for cases where this is NOT governed by the UTF macro. 289 * Use RExC_parse_inc() if UTF-8ness is controlled by the UTF macro. 293 * RExC_parse to ensure that when processing UTF-8 we would not read 304 * UTF-8 strings or not and NOT reading past the end of the buffer. 305 * The 'flag' argument determines if content is UTF-8 or not, 306 * intended for cases where this is NOT governed by the UTF macr 736 #define UTF global() macro [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/ |
| H A D | 11_read_string.t | 39 subtest 'invalid UTF-8' => sub { 40 # get invalid UTF-8 by reading Latin-1 with lax :utf8 layer 47 error_like( qr/invalid UTF-8 string/, 48 "Got expected error about invalid UTF-8 string"
|
| /openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/ |
| H A D | fetch_pad_names.t | 46 { cmp => 'latin-1', msg => 'Fetches through UTF-8.' }, 52 utf8 => { cmp => 2, msg => 'Sub has only UTF-8 vars.' }, 84 { cmp => 'Defined', msg => 'UTF-8 fetching works.' }, 90 utf8 => { cmp => 2, msg => 'UTF-8 in the pad.' }, 131 utf8 => { cmp => 2, msg => 'Latin-1 got upgraded to UTF-8.' }, 194 { cmp => '10', msg => 'Fetched UTF-8 our var.' }, 200 utf8 => { cmp => 3, msg => 'Japanese stored as UTF-8.' }, 228 pad_scalar(1, "tèst"), #"UTF-8" 231 pad_scalar(1, test()), #'UTF-8 enc' 240 { cmp => 'Good', msg => "pad_scalar: UTF-8 works." }, [all …]
|