Skip to content

JRedis: specifying encoding for String opterations #58

Description

@subwiz
JRedis client = new JRedis();
client.set("key", "நாஇன் நல்லவன் இல்லை subhash"); // text in Tamil


// Later:
String out = new String(client.get("key")); // This corrupted text

I am getting corrupted text because my PRO system is running:

file.encoding = ANSI_X3.4-1968

When I pass -Dfile.encoding=utf-8 when starting my app-server, the application is working fine. Is it possible to specify encoding using any API method?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions