403Webshell
Server IP : 217.160.0.143  /  Your IP : 216.73.217.84
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u89353126 ( 3190106)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/doc/libxml-writer-perl/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/libxml-writer-perl/examples/writing-unicode.pl
#!/usr/bin/perl -w

# Generate UTF-8 output of a Unicode string

use strict;

use XML::Writer;

my $unicodeString = "\x{201C}This\x{201D} is a test - \$ \x{00A3} \x{20AC}";

my $w = XML::Writer->new(ENCODING => 'utf-8');

$w->xmlDecl();

$w->startTag('doc');
$w->characters($unicodeString);
$w->endTag('doc');
$w->end();

Youez - 2016 - github.com/yon3zu
LinuXploit