Print locale dependent strings
Registered by
bigbes
Now, if you use multibyte encoding for STR type, when you'll use c-client print you'll get not what you've typed. Also --cat option prints the same sh*t because it uses the same tp_print_field function.
e.g. when you use Russian language with UTF-8 you'll get:
localhost> insert into t0 values (1, 'привет мир')
Insert OK, 1 rows affected
localhost> select * from t0 where k0=1
Select OK, 1 rows affected
['1', '\xD0\xBF\
but if locale allows you to print Russian characters, you want to see smth like this:
localhost> select * from t0 where k0=1
Select OK, 1 rows affected
['1', 'привет мир']
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
(?)