Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24599
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: copyright symbol |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <V_adnebgvuRUPxPOnZ2dnUVZ_vudnZ2d@westnet.com.au> <lmmc4q$osq$1@dont-email.me> |
| Date | 2014-06-04 10:37 +0200 |
| Message-ID | <XnsA3426C16CDA1Eeejj99@194.109.133.133> (permalink) |
"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote on 04 jun 2014 in comp.lang.javascript: > 2014-06-04 7:36, Andrew Poulos wrote: > >> Why does changing the charset "fix" the display of the symbol? > > Because the <meta charset=...> element, in the absence of overriding > information (HTTP headers or BOM) tells the browser how to interpret the > bytes in an HTML document as characters. Apparently, your code generates > an HTML document where "@" appears as iso-8859-1 encoded, so the browser > needs to be instructed about the iso-8859-1 encoding. > > JavaScript (or JScript) hasn't got much to do with this. The real issues > are with the character encodings used in the database and in HTML > documents generated. They should be the same encoding, or a controlled > and correct code conversion should be performed. Indeed, the question is off topic, should be in a html-NG. Use this stringlet, works in html: © -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
copyright symbol Andrew Poulos <ap_prog@hotmail.com> - 2014-06-04 14:36 +1000
Re: copyright symbol "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-06-04 08:51 +0300
Re: copyright symbol "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-04 10:37 +0200
Re: copyright symbol Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-04 11:06 +0200
Re: copyright symbol Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-04 14:34 +0200
Re: copyright symbol "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-06-04 15:41 +0300
Re: copyright symbol Andrew Poulos <ap_prog@hotmail.com> - 2014-06-05 10:28 +1000
Re: copyright symbol "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-05 09:12 +0200
Re: copyright symbol Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-04 11:21 +0000
csiph-web