File: utf8.t

package info (click to toggle)
libconfig-properties-perl 1.80-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 168 kB
  • ctags: 94
  • sloc: perl: 479; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- Mode: Perl -*-

use Test::More tests => 1;

use Config::Properties;

my $cfg = Config::Properties->new(encoding => 'UTF-8');
$cfg->load(\*DATA);

is ($cfg->getProperty('country'), "Espa\xf1a", 'country');

__DATA__

country = EspaƱa