Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
2
-
Client 2016-02-24
-
Bug Fix
-
Fixed an issue where C++ code accessing Ruby strings, when called from a Ruby interpreter configured with a non-UTF-8 locale, would interpret the string incorrectly.
Description
The Ruby API's to_string method doesn't account for string encoding when retrieving values. The C++ interface expects UTF-8 encoding; if another encoding is used, the string will be copied as bytes and interpreted incorrectly in C++ programs expecting UTF-8.
Attachments
Issue Links
- blocks
-
FACT-1341 Facter Throws Unhandled Exception when Run Under Unicode User
-
- Closed
-