NAME
Geography::States::NoUnicodeWarnings - use Geography::States without warnings
SYNOPSIS
use open ':encoding(utf8)';
use Geography::States::NoUnicodeWarnings;
# STDERR is not full of warnings about characters not mapping to Unicode
DESCRIPTION
Geography::States is a decent Perl module, tried and tested. It hasn't updated for a while, but then e.g. the USA, Canada etc. haven't added states recently, so there hasn't been a need.
Under certain circumstances - specifically if you have set a global character encoding for PerlIO - using Geography::States will cause warnings. This module fixes that. Just say use Geography::States::NoUnicodeWarnings
where you would otherwise have said use Geography::States
and the warnings will go away.
The Brazilian States that give the warnings will probably not be corrupted, although they may not be proper Unicode.
AUTHOR
Sam Kington <skington@cpan.org>
The source code for this module is hosted on GitHub https://github.com/skington/geography-states-nounicodewarnings - this is probably the best place to look for suggestions and feedback.
COPYRIGHT
Copyright (c) 2015 Sam Kington