Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24596
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: copyright symbol |
| Date | 2014-06-04 08:51 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <lmmc4q$osq$1@dont-email.me> (permalink) |
| References | <V_adnebgvuRUPxPOnZ2dnUVZ_vudnZ2d@westnet.com.au> |
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. -- Yucca, http://www.cs.tut.fi/~jkorpela/
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