|
| is WD20/WM20 support UTF-8? |
| Iniciado por guest, 24,ago. 2015 13:59 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 24,agosto 2015 - 13:59 |
Hi
1. does anyone know if WD20/WM20 support UTF-8 ? 2. is unicode encoding in WD20 different from WM20?
I create a class to communicate with web service ( create using expres.js runing on linux , UTF- .
when i create test program using wd20 and wm20 , i get different result .
I using setform to send info to webservice. on wd20 - with ansi ON : info send can be understand by webservice and web service response can be display out without any conversion.
on wd20 - with UNICODE ON : info send can not be understand and response must be convert using utf8tounicode() or ansito unicode() before display
wd20 to webservice { 'content-length': '1828', 'content-type': 'application/x-www-form-urlencoded', accept: '*/*', host: '192.168.56.250:3000', 'user-agent': 'PC SOFT Framework', connection: 'close' }
body: { host: 'l\ |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2015 - 14:07 |
after search the forum I found the solution . best solution is using
utf8tostring() and stringtoutf8() for before send and after received response . |
| |
| |
| | | |
|
| | | | |
| | |
|