| Unicode :: Escape. UNICODE :: Escape ist ein Perl-Modul mit Flucht- und Unrekape-Unicode-Zeichen außer ASCII. |
Jetzt downloaden |
Unicode :: Escape. Ranking & Zusammenfassung
- Lizenz:
- Perl Artistic License
- Name des Herausgebers:
- Hitoshi Amano
- Website des Verlags:
- http://search.cpan.org/~itwarrior/Unicode-Escape-0.0.2/lib/Unicode/Escape.pm
Unicode :: Escape. Stichworte
Unicode :: Escape. Beschreibung
Unicode :: Escape ist ein Perl-Modul mit Flucht- und Unreescape-Unicode-Zeichen außer ASCII. Unicode :: Escape ist ein Perl-Modul mit Flucht- und Unreescape-Unicode-Zeichen anderer als ASCII.Synopsis # Escape Unicode-Weichmacher wie '\ U3042 \ U3043 \ U3044'. # Json denkt nicht mehr Kleid !! # Fall 1 Verwenden Sie Unicode :: Escape; Meine $ EXPACKED1 = Unicode :: Escape :: Escape ($ STR1, 'EUC-JP'); # $ STR1 enthält Charaktor, der nicht ASCII ist. $ STR1 ist von EUC-JP codiert. MEIN $ EMPFOD2 = Unicode :: Escape :: Escape ($ STR2); # Standard ist UTF8 # $ STR2 enthält Charakter, der nicht ASCII ist. Meine $ UNECAPED1 = Unicode :: Escape :: UNESCAPE ($ STR3, 'Shiftjis'); # $ STR3 enthält ein entkaptigter Unicode-Zeichen. Rückgabewert wird von Shiftjis codiert. Meine $ UNECAPED2 = Unicode :: Escape :: UNESCAPE ($ STR4); # Standardeinstellung ist UTF8 # $ STR4 enthält ein entkaptigter Unicode-Zeichen. # Fall 2 Verwenden Sie Unicode :: Escape QW (Escape Unescape); meine $ eGAPED1 = Escape ($ STR1, 'EUC-JP'); # $ STR1 enthält Charaktor, der nicht ASCII ist. $ STR1 ist von EUC-JP codiert. meine $ Ei. Ei. Ei. Ei. Flucht ($ STR2); # Standard ist UTF8 # $ STR2 enthält Charakter, der nicht ASCII ist. Meine $ UNECAPED1 = UNESCAPE ($ STR3, 'Shiftjis'); # $ STR3 enthält ein entkaptigter Unicode-Zeichen. Rückgabewert wird von Shiftjis codiert. meine $ UNECAPED2 = UNESCAPE ($ STR4); # Standardeinstellung ist UTF8 # $ STR4 enthält ein entkaptigter Unicode-Zeichen. # Fall 3 Verwenden Sie Unicode :: Escape; Meine $ Escaper = Unicode :: Escape-> NEU ($ STR, 'Shiftjis'); # $ str enthält Charaktor, der nicht ASCII ist. $ str wird von Shiftjis codiert. (Standardeinstellung ist UTF8) Meine $ Escaped = $ Eskaper-> Escape; # Fall 4 Verwenden Sie Unicode :: Escape; Meine $ Escer = Unicode :: Escape-> Neu ($ STR); # $ str enthält ein entkaptigter Unicode-Zeichen. Meine $ UNECAPED1 = $ Eskaper-> UNESCAPE ('Shiftjis'); meine $ UNECAPED2 = $ Eskaper-> UNESCAPE; # Default ist UTF8.Scape und Unicode-Unicode-Zeichen anderer als ASCII. Wenn die Serverantwort JavaScript-Code ist, ist es praktisch. Anforderungen: · Perl.
Unicode :: Escape. Zugehörige Software