Commit 5a0c0125 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

correct errstr encoding

parent d146e44f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ sub check_for_ambiguous {
		$self->{errstr} = sprintf(
			'Ambiguous place input: %s',
			join( q{ | },
				map { $_->textContent }
				map { decode( 'UTF-8', $_->textContent ) }
				  @{ $e_place->findnodes($xp_place_elem) } )
		);
		return;
@@ -183,7 +183,8 @@ sub check_for_ambiguous {
		$self->{errstr} = sprintf(
			'Ambiguous name input: %s',
			join( q{ | },
				map { $_->textContent } @{ $e_name->findnodes($xp_name_elem) } )
				map { decode( 'UTF-8', $_->textContent ) }
				  @{ $e_name->findnodes($xp_name_elem) } )
		);
		return;
	}