/dports/mail/sympa/sympa-6.2.62/src/lib/Sympa/Tools/ |
H A D | Text.pm | 148 return Encode::encode_utf8($utext); 209 $str = Encode::encode_utf8($str) if Encode::is_utf8($str); 218 Encode::encode_utf8( 226 $str = Encode::encode_utf8($str) if Encode::is_utf8($str); 243 return Encode::encode_utf8( 288 return Encode::encode_utf8(fc(Encode::decode_utf8($str))); 322 return Encode::encode_utf8($text) if Encode::is_utf8($text); 348 return Encode::encode_utf8($utf8); 495 $blen = length Encode::encode_utf8($string->as_string); 498 $blen = length Encode::encode_utf8($string); [all …]
|
/dports/textproc/p5-XML-MyXML/XML-MyXML-1.08/lib/XML/ |
H A D | MyXML.pm | 216 … if ($item !~ /-->\z/) { croak encode_utf8("Error: unclosed XML comment block - '$item'"); } 219 … if ($item !~ /\?>\z/) { croak encode_utf8("Error: Erroneous special markup - '$item'"); } 245 croak encode_utf8("Error: Strange tag: '$item'"); 249 …or croak encode_utf8("Error: Incompatible stack element: stack='$stack[-1]{el_name}' item='$item'"… 256 defined $el_name or croak encode_utf8("Error: Strange tag: '$item'"); 265 defined $attr_name or croak encode_utf8("Error: Strange attribute: '$attr'"); 287 croak encode_utf8("Error: Strange element: '$item'"); 542 defined $el_name or croak encode_utf8 "Error: Strange key: $key"; 573 $xml = encode_utf8($xml) if $flags->{bytes}; 609 defined $el_name or croak encode_utf8 "Error: Strange key: $key"; [all …]
|
/dports/www/yabb/YaBB_2.6.11/cgi-bin/yabb2/Sources/ |
H A D | LivePreview.pm | 90 $csubject = encode_utf8($csubject); 91 $message = encode_utf8($message); 92 $myname = encode_utf8($message); 168 $messageblock = encode_utf8($messageblock); 233 $message = encode_utf8($message); 234 $myname = encode_utf8($myname); 235 $cdate = encode_utf8($cdate); 236 $txt_icon = encode_utf8($txt_icon);
|
/dports/devel/re2c/re2c-2.2/test/encodings/ |
H A D | unicode_blocks_8_encoding_policy_ignore.c | 12903 static unsigned int encode_utf8 (const unsigned int * ranges, unsigned int ranges_count, unsigned i… in encode_utf8() function 13088 …unsigned int buffer_Oriya_len = encode_utf8 (chars_Oriya, sizeof (chars_Oriya) / sizeof (unsigned … in main() 13097 …unsigned int buffer_Tamil_len = encode_utf8 (chars_Tamil, sizeof (chars_Tamil) / sizeof (unsigned … in main() 13142 …unsigned int buffer_Thai_len = encode_utf8 (chars_Thai, sizeof (chars_Thai) / sizeof (unsigned int… in main() 13151 …unsigned int buffer_Lao_len = encode_utf8 (chars_Lao, sizeof (chars_Lao) / sizeof (unsigned int), … in main() 13223 …unsigned int buffer_Ogham_len = encode_utf8 (chars_Ogham, sizeof (chars_Ogham) / sizeof (unsigned … in main() 13232 …unsigned int buffer_Runic_len = encode_utf8 (chars_Runic, sizeof (chars_Runic) / sizeof (unsigned … in main() 13259 …unsigned int buffer_Buhid_len = encode_utf8 (chars_Buhid, sizeof (chars_Buhid) / sizeof (unsigned … in main() 13277 …unsigned int buffer_Khmer_len = encode_utf8 (chars_Khmer, sizeof (chars_Khmer) / sizeof (unsigned … in main() 13295 …unsigned int buffer_Limbu_len = encode_utf8 (chars_Limbu, sizeof (chars_Limbu) / sizeof (unsigned … in main() [all …]
|
H A D | unicode_blocks_8_encoding_policy_substitute.c | 12653 static unsigned int encode_utf8 (const unsigned int * ranges, unsigned int ranges_count, unsigned i… in encode_utf8() function 12838 …unsigned int buffer_Oriya_len = encode_utf8 (chars_Oriya, sizeof (chars_Oriya) / sizeof (unsigned … in main() 12847 …unsigned int buffer_Tamil_len = encode_utf8 (chars_Tamil, sizeof (chars_Tamil) / sizeof (unsigned … in main() 12892 …unsigned int buffer_Thai_len = encode_utf8 (chars_Thai, sizeof (chars_Thai) / sizeof (unsigned int… in main() 12901 …unsigned int buffer_Lao_len = encode_utf8 (chars_Lao, sizeof (chars_Lao) / sizeof (unsigned int), … in main() 12973 …unsigned int buffer_Ogham_len = encode_utf8 (chars_Ogham, sizeof (chars_Ogham) / sizeof (unsigned … in main() 12982 …unsigned int buffer_Runic_len = encode_utf8 (chars_Runic, sizeof (chars_Runic) / sizeof (unsigned … in main() 13009 …unsigned int buffer_Buhid_len = encode_utf8 (chars_Buhid, sizeof (chars_Buhid) / sizeof (unsigned … in main() 13027 …unsigned int buffer_Khmer_len = encode_utf8 (chars_Khmer, sizeof (chars_Khmer) / sizeof (unsigned … in main() 13045 …unsigned int buffer_Limbu_len = encode_utf8 (chars_Limbu, sizeof (chars_Limbu) / sizeof (unsigned … in main() [all …]
|
H A D | unicode_blocks_8_encoding_policy_ignore.re | 1191 static unsigned int encode_utf8 (const unsigned int * ranges, unsigned int ranges_count, unsigned i… 1376 …unsigned int buffer_Oriya_len = encode_utf8 (chars_Oriya, sizeof (chars_Oriya) / sizeof (unsigned … 1385 …unsigned int buffer_Tamil_len = encode_utf8 (chars_Tamil, sizeof (chars_Tamil) / sizeof (unsigned … 1430 …unsigned int buffer_Thai_len = encode_utf8 (chars_Thai, sizeof (chars_Thai) / sizeof (unsigned int… 1439 …unsigned int buffer_Lao_len = encode_utf8 (chars_Lao, sizeof (chars_Lao) / sizeof (unsigned int), … 1511 …unsigned int buffer_Ogham_len = encode_utf8 (chars_Ogham, sizeof (chars_Ogham) / sizeof (unsigned … 1520 …unsigned int buffer_Runic_len = encode_utf8 (chars_Runic, sizeof (chars_Runic) / sizeof (unsigned … 1547 …unsigned int buffer_Buhid_len = encode_utf8 (chars_Buhid, sizeof (chars_Buhid) / sizeof (unsigned … 1565 …unsigned int buffer_Khmer_len = encode_utf8 (chars_Khmer, sizeof (chars_Khmer) / sizeof (unsigned … 1583 …unsigned int buffer_Limbu_len = encode_utf8 (chars_Limbu, sizeof (chars_Limbu) / sizeof (unsigned … [all …]
|
H A D | unicode_blocks_8_encoding_policy_fail.re | 1191 static unsigned int encode_utf8 (const unsigned int * ranges, unsigned int ranges_count, unsigned i… 1376 …unsigned int buffer_Oriya_len = encode_utf8 (chars_Oriya, sizeof (chars_Oriya) / sizeof (unsigned … 1385 …unsigned int buffer_Tamil_len = encode_utf8 (chars_Tamil, sizeof (chars_Tamil) / sizeof (unsigned … 1430 …unsigned int buffer_Thai_len = encode_utf8 (chars_Thai, sizeof (chars_Thai) / sizeof (unsigned int… 1439 …unsigned int buffer_Lao_len = encode_utf8 (chars_Lao, sizeof (chars_Lao) / sizeof (unsigned int), … 1511 …unsigned int buffer_Ogham_len = encode_utf8 (chars_Ogham, sizeof (chars_Ogham) / sizeof (unsigned … 1520 …unsigned int buffer_Runic_len = encode_utf8 (chars_Runic, sizeof (chars_Runic) / sizeof (unsigned … 1547 …unsigned int buffer_Buhid_len = encode_utf8 (chars_Buhid, sizeof (chars_Buhid) / sizeof (unsigned … 1565 …unsigned int buffer_Khmer_len = encode_utf8 (chars_Khmer, sizeof (chars_Khmer) / sizeof (unsigned … 1583 …unsigned int buffer_Limbu_len = encode_utf8 (chars_Limbu, sizeof (chars_Limbu) / sizeof (unsigned … [all …]
|
H A D | unicode_blocks_8_encoding_policy_substitute.re | 1191 static unsigned int encode_utf8 (const unsigned int * ranges, unsigned int ranges_count, unsigned i… 1376 …unsigned int buffer_Oriya_len = encode_utf8 (chars_Oriya, sizeof (chars_Oriya) / sizeof (unsigned … 1385 …unsigned int buffer_Tamil_len = encode_utf8 (chars_Tamil, sizeof (chars_Tamil) / sizeof (unsigned … 1430 …unsigned int buffer_Thai_len = encode_utf8 (chars_Thai, sizeof (chars_Thai) / sizeof (unsigned int… 1439 …unsigned int buffer_Lao_len = encode_utf8 (chars_Lao, sizeof (chars_Lao) / sizeof (unsigned int), … 1511 …unsigned int buffer_Ogham_len = encode_utf8 (chars_Ogham, sizeof (chars_Ogham) / sizeof (unsigned … 1520 …unsigned int buffer_Runic_len = encode_utf8 (chars_Runic, sizeof (chars_Runic) / sizeof (unsigned … 1547 …unsigned int buffer_Buhid_len = encode_utf8 (chars_Buhid, sizeof (chars_Buhid) / sizeof (unsigned … 1565 …unsigned int buffer_Khmer_len = encode_utf8 (chars_Khmer, sizeof (chars_Khmer) / sizeof (unsigned … 1583 …unsigned int buffer_Limbu_len = encode_utf8 (chars_Limbu, sizeof (chars_Limbu) / sizeof (unsigned … [all …]
|
/dports/textproc/p5-Plagger/Plagger-0.7.17/lib/Plagger/Plugin/Notify/ |
H A D | Growl.pm | 22 push @updates, encode_utf8($update->title_text); 31 encode_utf8($args->{feed}->title_text), 32 encode_utf8($args->{entry}->title_text), 33 encode_utf8($args->{entry}->body_text)
|
/dports/www/foswiki/Foswiki-2.1.6/tools/ |
H A D | configure | 75 print Encode::encode_utf8($text); 96 print Encode::encode_utf8( 342 Encode::encode_utf8( $Foswiki::cfg{ScriptDir} ) ); 346 Encode::encode_utf8( $Foswiki::cfg{DataDir} ) ); 348 Encode::encode_utf8( $Foswiki::cfg{PubDir} ) ); 350 Encode::encode_utf8( $Foswiki::cfg{TemplateDir} ) ); 352 Encode::encode_utf8( $Foswiki::cfg{LocalesDir} ) ); 354 Encode::encode_utf8( $Foswiki::cfg{WorkingDir} ) ); 356 Encode::encode_utf8( $Foswiki::cfg{ToolsDir} ) );
|
/dports/devel/p5-Data-Visitor-Encode/Data-Visitor-Encode-0.10007/t/ |
H A D | 04-encode_decode_utf8.t | 17 encode_utf8_ok( { "日本語" => "あいうえお" }, "encode_utf8 on hashref" ); 20 encode_utf8_ok( [ "日本語", "あいうえお" ], "encode_utf8 on arrayref" ); 23 encode_utf8_ok( \"日本語", "encode_utf8 on scalarref" ); 25 encode_utf8_ok( bless({ "日本語" => "あいえうお" }, "Hoge"), "encode_utf8 on object" );
|
/dports/security/p5-Digest-MD5-File/Digest-MD5-File-0.08/ |
H A D | File.pm | 151 $md5->add( $UTF8 ? Encode::encode_utf8($buf) : $buf ); 165 $md5->add( $UTF8 ? Encode::encode_utf8($buf) : $buf ); 179 $md5->add( $UTF8 ? Encode::encode_utf8($buf) : $buf ); 189 return Digest::MD5::md5(Encode::encode_utf8($cn)); 197 return Digest::MD5::md5_hex(Encode::encode_utf8($cn)); 205 return Digest::MD5::md5_base64(Encode::encode_utf8($cn)); 222 !$UTF8 ? $md5->add($buf) : $md5->add(Encode::encode_utf8($buf)); 233 !$UTF8 ? $md5->add($cn) : $md5->add(Encode::encode_utf8($cn));
|
/dports/www/ikiwiki/ikiwiki-3.20200202.3/IkiWiki/Plugin/ |
H A D | blogspam.pm | 105 comment => encode_utf8(defined $params{diff} ? $params{diff} : $params{content}), 106 subject => encode_utf8(defined $params{subject} ? $params{subject} : ""), 107 name => encode_utf8(defined $params{author} ? $params{author} : ""), 108 link => encode_utf8(exists $params{url} ? $params{url} : ""), 110 site => encode_utf8($config{url}),
|
/dports/www/p5-HTTP-Entity-Parser/HTTP-Entity-Parser-0.25/t/01_content_type/ |
H A D | json.t | 20 'hoge' => [ 'fuga', 'hige', Encode::encode_utf8('にほんご') ], 22 'moji' => { 'kanji' => { 'ji' => Encode::encode_utf8('字') } }, 24 Encode::encode_utf8('にほんご') => Encode::encode_utf8('日本語'),
|
/dports/chinese/p5-Encode-HanConvert/Encode-HanConvert-0.35/lib/Encode/ |
H A D | HanConvert.pm | 44 return decode('trad-simp', encode_utf8($_[0])) 46 $_[0] = decode('trad-simp', encode_utf8($_[0])); 50 return decode('simp-trad', encode_utf8($_[0])) 52 $_[0] = decode('simp-trad', encode_utf8($_[0]));
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/gitaly_client/ |
H A D | wiki_page.rb | 18 @title = encode_utf8(@title) 19 @path = encode_utf8(@path) 20 @name = encode_utf8(@name)
|
/dports/devel/jsonnet/jsonnet-0.17.0/core/ |
H A D | unicode.h | 30 static inline int encode_utf8(char32_t x, std::string &s) in encode_utf8() function 124 static inline void encode_utf8(const UString &s, std::string &r) in encode_utf8() function 127 encode_utf8(cp, r); in encode_utf8() 130 static inline std::string encode_utf8(const UString &s) in encode_utf8() function 133 encode_utf8(s, r); in encode_utf8()
|
/dports/devel/py-jsonnet/jsonnet-0.17.0/core/ |
H A D | unicode.h | 30 static inline int encode_utf8(char32_t x, std::string &s) in encode_utf8() function 124 static inline void encode_utf8(const UString &s, std::string &r) in encode_utf8() function 127 encode_utf8(cp, r); in encode_utf8() 130 static inline std::string encode_utf8(const UString &s) in encode_utf8() function 133 encode_utf8(s, r); in encode_utf8()
|
/dports/textproc/p5-Unicode-LineBreak/Unicode-LineBreak-2019.001/t/ |
H A D | lb.pl | 29 my $broken = encode_utf8($lb->break($instring)); 62 $broken .= encode_utf8($lb->break_partial($p)); 64 $broken .= encode_utf8($lb->break_partial(undef)); 87 my @broken = map { encode_utf8("$_") } $lb->break($instring);
|
/dports/net/rabbiteer/rabbiteer-rs-c881238/cargo-crates/regex-0.1.80/src/ |
H A D | utf8.rs | 47 pub fn encode_utf8(character: char, dst: &mut [u8]) -> Option<usize> { in encode_utf8() function 169 decode_utf8, decode_last_utf8, encode_utf8, 176 let encoded_len = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_roundtrip() 187 let encoded_len = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_roundtrip_last() 199 let n = encode_utf8(cp, &mut got).unwrap(); in prop_encode_matches_std() 210 let n = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_decode_matches_std() 223 let n = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_decode_last_matches_std()
|
/dports/devel/p5-Data-Visitor-Encode/Data-Visitor-Encode-0.10007/t/lib/Test/Data/Visitor/ |
H A D | Encode.pm | 40 …encode_utf8("value '" . (eval { decode($enc, $_[1]) } || '(fail)') . "' encodes to '$enc' for '$ti… 63 encode_utf8("value '$_[1]' decodes from '$enc' for '$title'") 74 $dve->encode_utf8($data); 112 ok(is_utf8($_[1], 1), encode_utf8("value $_[1] is utf8 for '$title'")); 136 ok(is_utf8($_[1], 1), encode_utf8("value $_[1] is utf8 for '$title'"));
|
/dports/databases/p5-Bucardo/Bucardo-5.6.0/t/ |
H A D | 10-object-names.t | 69 …$dbh->do(encode_utf8(qq/CREATE TABLE test_büçárđo ( pkey_\x{2695} INTEGER PRIMARY KEY, data TEXT )… 74 like $bct->ctl(encode_utf8('bucardo add table test_büçárđo db=A relgroup=unicode')), 80 $dbhA->do(encode_utf8("INSERT INTO test_büçárđo (pkey_\x{2695}, data) VALUES (1, 'Something')")); 92 my $res = $dbhB->selectall_arrayref(encode_utf8('SELECT * FROM test_büçárđo'));
|
/dports/www/ikiwiki/ikiwiki-3.20200202.3/doc/bugs/ |
H A D | Feeds_link_to_index.html_instead_of_directory.mdwn | 16 - my $url=URI->new(encode_utf8($config{url}."/".htmlpage($page))); 17 + my $url=URI->new(encode_utf8($config{url}."/".urlto($page, ""))); 23 - my $u=URI->new(encode_utf8($config{url}."/".htmlpage($p))); 24 + my $u=URI->new(encode_utf8($config{url}."/".urlto($p, "")));
|
/dports/www/foswiki/Foswiki-2.1.6/lib/Foswiki/Users/ |
H A D | HtPasswdUser.pm | 558 return crypt( Foswiki::encode_utf8($passwd), 559 Foswiki::encode_utf8( substr( $salt, 0, 2 ) ) ); 596 Foswiki::encode_utf8($passwd), 597 Foswiki::encode_utf8( substr( $salt, 0, 14 ) ) ); 622 Foswiki::encode_utf8($passwd), 623 Foswiki::encode_utf8( substr( $salt, 0, 11 ) ) ); 626 return crypt( Foswiki::encode_utf8($passwd), 627 Foswiki::encode_utf8( substr( $salt, 0, 11 ) ) ); 663 Foswiki::encode_utf8($salt) ); 668 Foswiki::encode_utf8($passwd), [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/regex-0.2.2/src/ |
H A D | utf8.rs | 47 pub fn encode_utf8(character: char, dst: &mut [u8]) -> Option<usize> { in encode_utf8() function 187 decode_utf8, decode_last_utf8, encode_utf8, 194 let encoded_len = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_roundtrip() 205 let encoded_len = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_roundtrip_last() 217 let n = encode_utf8(cp, &mut got).unwrap(); in prop_encode_matches_std() 228 let n = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_decode_matches_std() 241 let n = encode_utf8(given_cp, &mut tmp).unwrap(); in prop_decode_last_matches_std()
|