Skip Menu |

This queue is for tickets about the svk CPAN distribution.

Report information
The Basics
Id: 62826
Status: new
Priority: 0/
Queue: svk

Owner: Nobody in particular
Requestors: theultramage [...]

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

Subject: uninitialized value in get_encoding()
Download (untitled) / with headers
text/plain 549b
On Windows at least, if the LANG variable is not set, both Locale::Maketext::Lexicon::encoding() and encoding::_get_locale_encoding () attempts will fail, which will then make the code feed an uninitialized value to resolve_alias(). The value will then travel several levels down the call stack, until it blows up and causes pages and pages of uninitialized variable notices to be printed. Proposed fix is to let the user know that the environment variable should be set, and/or add a third fallback value of 'utf8' into the chain of lookups.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to