Explorar o código

Fix #137: encode in utf8mode because smrrt quotes

George S. Baugh %!s(int64=5) %!d(string=hai) anos
pai
achega
9ee89cde7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Trog/Data/FlatFile.pm

+ 1 - 1
lib/Trog/Data/FlatFile.pm

@@ -28,7 +28,7 @@ You can only post once per second due to it storing each post as a file named af
 
 =cut
 
-our $parser = JSON::MaybeXS->new();
+our $parser = JSON::MaybeXS->new( utf8 => 1 );
 
 sub read ($self, $query={}) {
     $query->{limit} //= 25;