Is there any way to convert some column from iso to utf8?
Something like... SELECT Id, UTF8(Name FROM table;
I need because JSON issue, i need to convert it in PHP using utf8 funcions... I'd like to receive the data already converted.
Request clarification before answering.
Vincent has pointed you in the right direction in his comment to your question.
If you want to convert your data from database character to UTF8 then using
set @utf8_data = csconvert( @your_db_char_data, 'utf8' );
will convert @your_db_char_data from the database character set to UTF8.
For more information on the csconvert function see http://dcx.sybase.com/index.html#1101en/dbreference_en11/csconvert-alphabetical-functions.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Soooo... if you like a comment, vote it up: hover over the comment and you will see a teeny clickable arror.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.