| Unicode :: Escape Unicode :: Escape is een Perl-module met ontsnapping en Uncephape Unicode-tekens anders dan ASCII. |
Download nu |
Unicode :: Escape Rangschikking & Samenvatting
- Vergunning:
- Perl Artistic License
- Naam uitgever:
- Hitoshi Amano
- Uitgever website:
- http://search.cpan.org/~itwarrior/Unicode-Escape-0.0.2/lib/Unicode/Escape.pm
Unicode :: Escape Tags
Unicode :: Escape Beschrijving
Unicode :: Escape is een Perl-module met ontsnapping en Uncephape Unicode-tekens anders dan ASCII. Unicode :: Escape is een Perl-module met ontsnapping en Unescape Unicode-tekens anders dan ASCII.Synopsis # Escape Unicode Charactors zoals '\ u3042 \ u3043 \ u3044'. # JSON denkt niet meer verkopers !! # Case 1 Gebruik Unicode :: Escape; My $ Escaped1 = Unicode :: Escape: Escape ($ strl1, 'EUC-JP'); # $ strl1 bevat charactor die geen ASCII is. $ strl1 is gecodeerd door EUC-JP. mijn $ ontsnappen2 = Unicode :: Escape: Escape ($ str2); # Standaard is UTF8 # $ Str2 bevat Charactor die geen ASCII is. Mijn $ UNESCAPED1 = Unicode :: Escape: Unescape ($ Str3, 'Shiftjis'); # $ str3 bevat ontsnapte unicode-teken. Retourwaarde is gecodeerd door Shiftjis. My $ UNESCAPED2 = Unicode :: Escape: Unescape ($ Str4); # Standaard is UTF8 # $ STR4 bevat ontsnapte Unicode-teken. # Case 2 Gebruik Unicode :: Escape QW (Escape Unescape); mijn $ ontsnapte1 = ontsnappen ($ strlo, 'euc-jp'); # $ strl1 bevat charactor die geen ASCII is. $ strl1 is gecodeerd door EUC-JP. mijn $ ontsnapte2 = escape ($ str2); # Standaard is UTF8 # $ Str2 bevat Charactor die geen ASCII is. mijn $ unescaped1 = unescape ($ str3, 'shiftjis'); # $ str3 bevat ontsnapte unicode-teken. Retourwaarde is gecodeerd door Shiftjis. mijn $ unescaped2 = unescape ($ str4); # Standaard is UTF8 # $ STR4 bevat ontsnapte Unicode-teken. # Case 3 Gebruik Unicode :: Escape; Mijn $ Escaper = Unicode :: Escape-> Nieuw ($ Str, 'Shiftjis'); # $ str bevat charactor die geen ASCII is. $ str is gecodeerd door Shiftjis. (Standaard is UTF8) My $ ontsnapte = $ Escaper-> Escape; # Case 4 Gebruik Unicode: Escape; Mijn $ Escaper = Unicode :: Escape-> Nieuw ($ Str); # $ str bevat ontsnapte Unicode-teken. mijn $ unescaped1 = $ Escraper-> UNESCEP ('Shiftjis'); mijn $ unescaped2 = $ Escraper-> Unescape; # Standaard is UTF8.CEPE en Unescape Unicode-tekens anders dan ASCII. Wanneer de serverreactie JavaScript-code is, is het handig. Vereisten: · Perl
Unicode :: Escape Gerelateerde software