[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [edict-jmdict] New Monash WWWJDIC, etc. site



On 2015-08-18 12:24, Jim Breen jimbreen@gmail.com [edict-jmdict] wrote:
[default charset wrong]

Thanks for that alert. I hadn't noticed that the Apache server
had the Charset set to default to UTF-8. That meant that for
every page with EUC-JP in it (and with meta-tags saying so)
was being set to UTF-8. Fixed now (I removed the default.)

It's more future-proof to rename the euc-jp files to .html.euc-jp or .sjis.txt or similar. Apache treats each of the suffixes as a directive, one for the content-type and the other for the encoding.

The encoding markers are listed in the config file with the keyword AddCharset

Of course, I think this is all Apache-specific, so it's not really 'future-proof' in that way...