Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <3095860.XUZphLpy32@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 03 Jan 2014 22:54:58 +0100 User-Agent: KNode/4.11.3 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <0.cb1d1865c94178664953.20140103123727GMT.87mwjdz1fc.fsf@bsb.me.uk> <0.ae7ad9e0c221d9366ab1.20140103143023GMT.87bnztyw74.fsf@bsb.me.uk> <0.798a8e49261753f45cc7.20140103202820GMT.87r48oyfmj.fsf@bsb.me.uk> Supersedes: <2539330.QTdvZdVxQr@PointedEars.de> MIME-Version: 1.0 Lines: 29 NNTP-Posting-Date: 03 Jan 2014 22:54:59 CET NNTP-Posting-Host: 0a6654d5.newsspool1.arcor-online.net X-Trace: DXC=GcC7E:HTe68l:SlOMReDZm8W4\YJNlYUVHKH;GI^gHia>lF8F3kgi1E1jU9m Jerry Stuckle writes: >> On 1/3/2014 9:30 AM, Ben Bacarisse wrote: > >>> You really only need UTF-8 in the database. The page encoding is not >>> that important. >> >> I beg to differ. Page encoding is important if you want the correct >> characters displayed. > > It's important, but not *that* important. The OP says that changing it > is not an option, so I gave an example of how one can finesse the page > encoding entirely -- by converting data you take from the data base to > ASCII. You can do that – at the risk of increasing the server-side runtime and memory usage of the PHP program, the size of the output, the loading and rendering time, and memory usage of the document client-side, considerably, to no substantial advantage. It is the *World Wide* Web, and for that reason alone UTF-8 support is ubiquitous there since years. PointedEars -- Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network. -- Tim Berners-Lee