Thursday, 18 May 2017

from node js rest server to another charset server data post

I'm trying to post some data from my node js rest server to another charset server(ex: euc-kr).

but when i post data, in another charset server(destination server), data is broken.

i think it causes because of encoding.

so i tried convert utf-8 to euc-kr with iconv module and post. but data is broken in destination server too.

and i tried input charset=euc-kr into request headers and post. but data is broken in destination server too.

how can i post data to another charset(euc-kr) server?



via Jatch

No comments:

Post a Comment