~ubuntu-branches/ubuntu/saucy/liburi-perl/saucy

« back to all changes in this revision

Viewing changes to t/utf8.t

  • Committer: Package Import Robot
  • Author(s): Angel Abad, Ansgar Burchardt, Salvatore Bonaccorso, Angel Abad
  • Date: 2011-08-17 18:06:15 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110817180615-zd1vbl9ovnw0cf1e
Tags: 1.59-1
[ Ansgar Burchardt ]
* debian/control: Convert Vcs-* fields to Git.

[ Salvatore Bonaccorso ]
* [packagecheck] fixed Vcs-(Git|Browser)/Homepage field(s) in
  debian/control and/or URL in debian/watch and/or rmdir
  /usr/{lib|share}/perl5 in debian/rules.

[ Angel Abad ]
* Imported Upstream version 1.59
* Bump Standards-Version to 3.9.2 (no changes)
* debian/copyright: Update years
* Bump debhelper compatibility level to 8

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
my $uri = URI->new('http:');
14
14
$uri->query_form("mooi€e" => "mooi€e");
15
15
is( $uri->query, "mooi%E2%82%ACe=mooi%E2%82%ACe" );
 
16
is( ($uri->query_form)[1], "mooi\xE2\x82\xACe" );
 
17
 
 
18
# RT#70161
 
19
use Encode;
 
20
$uri = URI->new(decode_utf8 '?Query=%C3%A4%C3%B6%C3%BC');
 
21
is( ($uri->query_form)[1], "\xC3\xA4\xC3\xB6\xC3\xBC");
 
22
is( decode_utf8(($uri->query_form)[1]), 'äöü');