Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105706
interpreted = N
texte = --Apple-Mail-4-874880259Content-Type: text/plain;charset=ISO-8859-1;format=flowed;delsp=yesContent-Transfer-Encoding: quoted-printableThanks Tom, and Chris (in the forum thread, same topic), for your =20feedback.Chris,my question was not about re-populating a form input, but (for =20example) about massaging (via Webdna) the formerly-*JS-massaged* data =20=so we can write it to db and have it accurately represent the data =20that was originally input by the user.Anyway, let me assimilate the comments you two made about UTF-8, and =20I'll set up some test pages we can use to better have any =20discussion... before I get back to you with further questions.Thanks!-GovindaOn Aug 16, 2010, at 4:54 AM, Tom Duke wrote:> Govinda,>> Hi - I switched to UTF-8 a good few years ago. Basic rule is to =20> ensure that you use UTF-8 encoding for all your templates and dbs.>> Most web service APIs that I have come across expect UTF-8, so I'm =20> not sure where your Javascript problem will kick in. You can also =20=> specify the charset within the HTML