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

Fwd: Why replacement character occur ?



wml 파일은 멀쩡한데 html 에 가끔 깨진 글자가 나오는 게 perl 과 wml 사이에 unicode 다루는 데 버그가 있나봅니다.

---------- Forwarded message ---------
보낸사람: Boyuan Yang <byang@debian.org>
Date: 2020년 10월 19일 (월) 오전 2:32
Subject: Re: Why replacement character occur ?
To: Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>, <debian-www@lists.debian.org>


Hi,

在 2020-10-18星期日的 18:45 +0200,Jean-Pierre Giraud写道:
> Hi Sebul,
>
> Le 18/10/2020 à 15:09, sebul a écrit :
> > Hello.
> > https://www.debian.org/social_contract.ko.html
> > shows replacement characters.
> > For example
> >  데비안 자� 소프트웨어 지침에
> > But when I see social_contract.wml I can't find replacement
> > charcter �
> >
> > Why replacement character occur? How can fix it ?
> >
> > --
> > https://sebuls.blogspot.kr
> Sorry, I don't answer your last question.
> In French, there were around 3360 occurences of this problem... And I
> began to fix them, moving the "à" to the begninning of the next line.
> I think it's a problem linked to the parsing of the caracter ("à")
> followed by the new line character "\n" during the translation from
> .po
> format to .html format.

Avoiding special characters before newline doesn't solve the
fundamental problem. It will just hide the problem and make future
contribution more unpredictable.

We have seen similar problems before (https://bugs.debian.org/959474).
This comes down as a bug of Unicode handling between Perl and WML. I
guess we also need to triage and find the root cause this time.

Thanks,
BOyuan Yang


--
https://sebuls.blogspot.kr
-----BEGIN PGP SIGNATURE-----

iQJFBAABCgAvFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl+Me/8RHGJ5YW5nQGRl
Ymlhbi5vcmcACgkQwpPntGGCWs4CDxAArJTqqEKKQPgdZtT6gnuVfNz1XtFnvPeM
iP/DNKqaxFvibpibEDJbX0AzsAg/8q3DXZcMr3fpP1bp/ttluJZuR0lnKDWjMLfm
pvjLutZO5iwr3WQfyVxYK1ZA1bUeaCVvBTizattMPKNovFdUR4y3MRnN2o7m3oOs
nVC419asu54zAVZ5X7BH6HxeroIQP+XMtGLRMOF26TH83ZGnHTW2W7oxzhN2yxtK
71lpNTydEauBNWXnsYP3zK1qp0Lh/rIPDbwfTWVGvscIM7lvXhJArQYtrL8bz0G/
h07C+pt6GRbxhM6TndqBqks4vml9jKb03998vt9l6piZK1v4/gHp8ta8L3RsfwA1
+YX1UL7y0oCewQ87TBIihWMw/G3U5j2iwdqx8/LnenezLhoTLjtWe/wPg5qqlDSd
/03D/fJkCPHIZ24ScXSir14oS0T5DAc88ZCCV1qGKjV66Z/5yvcN2xEcSnlnJbNc
8fgA58WWmppj4ub47qH3EzWvLK9LIdyz/mIpDN3M4B1NmZ3a5StW+T+e3BLJqGhr
Ds7xR61N6bDTRhWleSp2T+JzchbatmDSXOWQgznSNBFObcVGhI78LKX+Im3Gi1rf
dIfI39gs5/eSg9tqz4NfiLzubdCJK6YI9IRQLQ6P7Obchh9QrHnhHJo9imDoWu8S
Q5ab0y+L/Y8=
=XrJT
-----END PGP SIGNATURE-----

Reply to: