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
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