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 = 105789
interpreted = N
texte = Govinda, we are using WebDNA with Ajax on several sites without any issues. Is = the source code for your tests available for download I could have a = peek. Best, Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se 9 sep 2010 kl. 23.57 skrev Govinda: > *** Please, anyone who knows Javascript (JS) and WebDNA, take a look! = *** >=20 > OK, I finally made a little time to put together a page where we can = tinker/talk about the issue I mentioned in a previous post, if there is = one. (Note that some of what I wrote before in that older post was = based on a greater degree of ignorance than I have now, so focus mostly = on this post.) >=20 > I am still new at handling chars that need utf-8, let alone in JS = (where I am still somewhat green).. but as far as I can tell, there is = an issue that needs to be addressed when/where any Webdna programmer = gets serious with UTF and JS/AJAX. I hope I am wrong about that. Can = anyone help me see that I am wrong, or confirm that we have an issue? >=20 > The page at the following link explains everything, but ask here if = needed, and I will certainly clarify/modify any code anyone (who takes a = good look) might suggest. >=20 > http://www.sleeperhouse.com/admin/govTestDump/webdnaJStest_utf8.html >=20 > Thanks so much! > -Govinda >=20 > On Aug 16, 2010, at 4:54 AM, Tom Duke wrote: >=20 >> Govinda, >>=20 >> Hi - I switched to UTF-8 a good few years ago. Basic rule is to = ensure that you use UTF-8 encoding for all your templates and dbs. >>=20 >> Most web service APIs that I have come across expect UTF-8, so I'm = not sure where your Javascript problem will kick in. You can also = specify the charset within the HTML