hjson/hjson-php

UTF-8 in multiline strings bug

Closed this issue · 1 comments

Ronef commented

This example code:

$hjsonParser->parse(
	'{
		content:
			\'\'\'
			←→±≠Я
			\'\'\'
	}'
);

Throws:

Bad multiline string at line 5, 1 >>> ''' } ...

Has been fixed, perhaps by #26. Will add test case.