Re: Please translate: stretch dedication text

Stéphane Blondon <[email protected]>
Newsgroups gmane.linux.debian.devel.www,gmane.linux.debian.internationalization.general
Message-ID <[email protected]>

Le 18/06/2017 à 20:55, Holger Wansing a écrit :
> Hi,
> 
> Holger Wansing <[email protected]> wrote:
>>
>> Hi,
>>
>> regarding the translations of dedication text:
>>
>> 1. translations have encoding problems, see
>> http://ftp.debian.org/debian/doc/dedication/dedication-9.0.de.txt
>> or even more worse
>> http://ftp.debian.org/debian/doc/dedication/dedication-9.0.ja.txt
> 
> This seems to be a problem with some webbrowsers:
> Firefox and derivatives assume the wrong character encoding for the file,
> when I select UTF8 by hand, everything displays fine.
> With Chromium all is fine out of the box.
> 
> So, maybe we can add encoding specification to the files, to make that
> working more stable?

Perhaps another suggestion is to add an HTTP header about the UTF-8
encoding, like:
Content-Type: text/plain; charset=utf-8

in the web server configuration.

There is a Content-type currently, without charset:


$ LANG=C wget --server-response
http://ftp.debian.org/debian/doc/dedication/dedication-9.0.de.txt
--2017-06-19 21:20:30--
http://ftp.debian.org/debian/doc/dedication/dedication-9.0.de.txt
Resolving ftp.debian.org (ftp.debian.org)... 194.71.11.165,
194.71.11.173, 2001:6b0:19::173, ...
Connecting to ftp.debian.org (ftp.debian.org)|194.71.11.165|:80...
connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Mon, 19 Jun 2017 19:20:32 GMT
  Server: Apache/2.4.25 (Unix)
  Last-Modified: Fri, 16 Jun 2017 18:01:16 GMT
  Content-Length: 1078
  Accept-Ranges: bytes
  Age: 3130
  Keep-Alive: timeout=10, max=1000
  Connection: Keep-Alive
  Content-Type: text/plain
Length: 1078 (1.1K) [text/plain]


-- 
Stéphane
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEFXRbhjtX1pKPhY7rorkbxs1OvdwFAllIJQgACgkQorkbxs1O
vdwglQ/9EzLP6hXU8z097Ok8lxo2L7Lguo0uU1TdIP0+QTgEn51856ceUbO+HSuQ
SKKqywsnJi5cwJfStgdJ31QuYQKd+ZNOBxi6HnBJTvz30M6TPSPlSkm2O8oGyjHP
K5RNXxHw9D7Ob9X8P2Jt/UQnb0nrNTe0xpIdxcXy5Z1YHna9Osr8sh/nMyyXqbvc
pHHAl/SZjunmODsf5nulWGoPxKyg6eL7ALXs/kIcIbXpY1U3zTffJgHyh2YokB42
TNSsck0/TZDtqKuivdMoZQ6bYtLlyKTPygm5mO6pOFqOk/5EZiiEm24EqrCTxg2M
ZXGfBtC0g1Ly+VQT223V4QEP8KfgV3DBezU/nz2gNDnSlYxqph90Ku8CuZAaDb02
JEdP/w4N//2wvg4CaJYV6veHCbaa2lEdaEc243g5wwx03FLNkeyQ3DOanAsRUp0j
2Lc5/vJc6zhQm1YaWgbZ183+PXUmBFfu/KLQ9QKwxttx2WvSKP7LGMicHFdlS9v0
AghK56bD0QQA1PiMiyuX0KQFBYd8rGaeb+Z6rLXPQUN/MxdVz9ERBAIMxEp8ZeW9
fgv5O8Df1KlBzZQQcKELsHW7nF2ONcALiB0MB8woq4s9Ch/AmcEdsl/8y05nkIg/
evNSSbxoMrE4lkgEZBO2KTyyu9tAxWrShJFfmOHVLngo8HD6MS8=
=C2Vt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.