Skip Menu |

This queue is for tickets about the Locale-SubCountry CPAN distribution.

Report information
The Basics
Id: 38559
Status: resolved
Priority: 0/
Queue: Locale-SubCountry

People
Owner: kimryan [...] cpan.org
Requestors: b.erhart [...] 3united.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Encoding error
Date: Mon, 18 Aug 2008 14:30:17 +0200
To: bug-Locale-SubCountry [...] rt.cpan.org
From: Benjamin Erhart <b.erhart [...] 3united.com>
Hi! The module file SubCountry.pm version 1.41 obtained through sudo cpan Locale::SubCountry actually is encoded in Windows charset CP-1252, instead of the declared ISO-8859-1. Trying to recode the file in ISO-8859-1 results in a error, saying some characters cannot be converted. I therefore would propose to encode the file in UTF-8, which should resolve all encoding issues, especially with regard to the international character of such a module. perl -v: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi uname -a: Linux stc 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux (Ubuntu 8.04.1) Steps to do: - Recode file to UTF-8 character set - add "use utf8" after line 313 - replace line 835 like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> with kind regards, Benjamin Erhart
Attached is the xml DATA part but properly encoded in UTF-8

Message body is not shown because it is too large.

Is there any chance this will be fixed sometime soon?
Should be fixed in version 1.43. Sorry for the long delay.