phpredis-json icon indicating copy to clipboard operation
phpredis-json copied to clipboard

phpredis-json not working properly with Spanish

Open thanhhieu1611 opened this issue 3 years ago • 0 comments

When I try to use phpredis-json to store spanish text on redis server, the text is not returned its original text. Example: Original text: Sabía que ofrecemos Encoded by json_encode: "Sab\u00eda que ofrecemos Send to redis server using phpredis-json Received json: "Sab\u00c3\u00ada que ofrecemos Decoded by json_decode: "Sabía que ofrecemos

I also try executeRawCommand like below $this->redisClient()->executeRawCommand(JsonCommands::SET, 'mykeytest', '.', $process_encoded) $this->redisClient()->executeRawCommand(JsonCommands::GET, 'mykeytest', '.') It has the same issue.

Do you know what's issue is? Thank you

thanhhieu1611 avatar Aug 24 '22 14:08 thanhhieu1611