Any idea why this is the fix? Just a peculiarity of the Windows port? Is there a reason the order should matter? -- jeffrey

On 12/22/2013 06:52 PM, Ruslan Shvedov wrote:
On Mon, Dec 23, 2013 at 12:45 AM, Jeffrey Kegler <[email protected] <mailto:[email protected]>> wrote:

    Fromn the logs, it looks like Unicode strings are being treated as
    Latin-1 after a round-trip through Marpa -- the bug Jean-Damien
    pinpointed and I (so I thought) fixed.

Yes, and that fixed bug shows IMHO in a third ('using strings') of the tests passing.

I just tested input strings utf8::is_utf8() in sl_advent.t and it shows that they're not utf8 unlike in Jean-Damien's perl6advent.day18.with.marpa.pl <http://perl6advent.day18.with.marpa.pl> where that are read from __DATA__ section.

And, once I move

    use utf8


anywhere before

    use open ':std', ':encoding(utf8)';


all tests pass. Pull request submitted, case closed I think. :)

--
You received this message because you are subscribed to the Google Groups "marpa 
parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to