in reply to Re: UTF8 with YAML or JSON
in thread UTF8 with YAML or JSON
The 'use utf8' pragma is actually included in my module (though I omitted it from the simple code I posted here). However, I've played with it quite a bit and never got the results I wanted either.
In the code posted here, the variable $in DOES contain UTF8 characters, but when you pass it to Load (which is obviously outside the scope of anything in this script) it gets converted. For that reason, though technically correct, I don't think that adding the pragma here will have any impact. If I'm wrong though, I'm certainly open to correction. I"m definitely not a UTF8 expert.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: UTF8 with YAML or JSON
by zwon (Abbot) on Jun 29, 2012 at 17:59 UTC | |
by SBECK (Chaplain) on Jun 29, 2012 at 18:06 UTC | |
by zwon (Abbot) on Jun 30, 2012 at 04:35 UTC | |
by SBECK (Chaplain) on Jul 02, 2012 at 13:07 UTC |