Re: Internationalisation tests and ... euro sign
Lachlan Andrew <[email protected]>
| Newsgroups | gmane.comp.web.htdig.devel |
|---|---|
| Organization | sourceforge |
| Message-ID | <[email protected]> |
Greetings Gabriele, Someone just reported this as a bug... I suggested replacing the "¬" entity by a "€" entity (see attached patch). That is a real hack, since the "&#xxx;" representation of "¬" will be incorrectly displayed as a euro sign instead of a not, but it should do until we get unicode support. Should we commit this hack, or just leave it as an optional patch? Lachlan On Tue, 24 Feb 2004 11:22 pm, Gabriele Bartolini wrote: > Ciao guys, > > I have tested the attributes that are part of the > 'internationalistaion' task and they are all successfull according > to me and my locale settings (it_IT@euro). > > The only problem regards the correct translation of the euro > character, which is an HTML entity € part of the LATIN 9 > charset. > > Indeed, this character, spreadly used not only in the european > community countries, is not currently imploded/exploded in the > digging and searching phase, returning a terrifying "€" string > in the results. > > Any ideas and workarounds? I found an interesting discussion of > this topic on this URL: http://www.cs.tut.fi/~jkorpela/latin9.html > > Ciao and thanks, > -Gabriele > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > ht://Dig Developer mailing list: > [email protected] > List information (subscribe/unsubscribe, etc.) > https://lists.sourceforge.net/lists/listinfo/htdig-dev -- [email protected] ht://Dig developer DownUnder (http://www.htdig.org)
euro_patch.0
(text/x-diff, 700 B)
--- htcommon/HtSGMLCodec.cc.orig 2004-05-29 10:18:37.000000000 +1000
+++ htcommon/HtSGMLCodec.cc 2004-05-29 10:49:13.000000000 +1000
@@ -40,7 +40,7 @@
else
{
myTextFromString = " |¡|¢|£|¤|¥|¦|§|";
- myTextFromString << "¨|©|ª|«|¬|­|®|¯|°|";
+ myTextFromString << "¨|©|ª|«|€|­|®|¯|°|";
myTextFromString << "±|²|³|´|µ|¶|·|¸|";
myTextFromString << "¹|º|»|¼|½|¾|¿|À|";
myTextFromString << "Á|Â|Ã|Ä|Å|Æ|Ç|È|";