in reply to Convert \u characters into utf8
You don't show us any code we could use to replicate your problem.
Maybe $file does not contain the file contents?
I recommend saving files as UTF8 and reading them as raw bytes. JSON modules expect either raw bytes (JSON::XS) or can be configured to accept Latin-1 (JSON).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Convert \u characters into utf8
by ultranerds (Hermit) on Feb 02, 2016 at 13:14 UTC | |
by Corion (Patriarch) on Feb 02, 2016 at 13:23 UTC | |
by ultranerds (Hermit) on Feb 02, 2016 at 13:34 UTC |