Z
zxo102
Hi,
I retrieve some info in Chinese from postgresql and assign it to a
variable 'info' defined in javascript of a html page:
var info = ['\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4','\xd6\xd0\xce
\xc4']
But I want it to be
var info = ['¤¤¤å','¤¤¤å','¤¤¤å']
since in html pages (via javascript), the items in chinese out of the
former :['\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4'] can
not be displayed correctly when it is inserted into a html page. If
the list is var info = ['¤¤¤å','¤¤¤å','¤¤¤å'] , then everything works
fine.
Anybody knows how to solve this problem?
Thanks in advance.
zxo102
I retrieve some info in Chinese from postgresql and assign it to a
variable 'info' defined in javascript of a html page:
var info = ['\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4','\xd6\xd0\xce
\xc4']
But I want it to be
var info = ['¤¤¤å','¤¤¤å','¤¤¤å']
since in html pages (via javascript), the items in chinese out of the
former :['\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4'] can
not be displayed correctly when it is inserted into a html page. If
the list is var info = ['¤¤¤å','¤¤¤å','¤¤¤å'] , then everything works
fine.
Anybody knows how to solve this problem?
Thanks in advance.
zxo102