Hello,
My Javascript function returns a char arrya which might contain non-printable characters. In fact each character is a byte (represented as a number from 0-255). The problem is that when I try to copy this char array to the notepad, for example, I get these results:
ORIGINAL STRING IN JAVASCRIPT:
performance of thisĎask, ćd so modest hā conductėďaĤĦĞaġ proposalĒČĵrriageėġclaŅngĥimselfėĔĘ furďħiīĭemenį willŢőtĝĶĻijħĜnėwhoėĴĔŕşedŹoulĚbeĩŦśŌevħĆŸ ičĴwāĊcŎeŝŭy bĺughĤup. TĦƠƘrĊĆńiƂ;ĨƜƞĨƆtivIJiĪ ŅĀnƂĎĴtĿŧtĒźich nIJŞĊhĶơĢűƘƃĘī MŖĢiňDžĒĜǁsŞpſdžĐǧǐooŗŖlowĒŢ
STRING PASTED TO NOTEPAD:
performance of this?ask, ?d so modest h? conduct??a???a? proposal???rriage??cla?ng?imself??? fur??i??emen? will??t??????n?who?????ed?oul?be????ev??Ÿ i??w??c?e??y b?ugh?up. T???r???i?;?????tiv?i? ??n???t??t??ich n???h???????? M??i?????s?p?????oo??low??
What can I do to have this string properly represented on Notepad when pasting it? On my HTML I am using UTF-8.
THANKS