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 "&not;" entity by a "&euro;" entity (see 
attached patch).  That is a real hack, since the "&#xxx;" 
representation of "&not;" 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 &euro; 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 "&euro;" 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 = "&nbsp;|&iexcl;|&cent;|&pound;|&curren;|&yen;|&brvbar;|&sect;|";
-  myTextFromString << "&uml;|&copy;|&ordf;|&laquo;|&not;|&shy;|&reg;|&macr;|&deg;|";
+  myTextFromString << "&uml;|&copy;|&ordf;|&laquo;|&euro;|&shy;|&reg;|&macr;|&deg;|";
   myTextFromString << "&plusmn;|&sup2;|&sup3;|&acute;|&micro;|&para;|&middot;|&cedil;|";
   myTextFromString << "&sup1;|&ordm;|&raquo;|&frac14;|&frac12;|&frac34;|&iquest;|&Agrave;|";
   myTextFromString << "&Aacute;|&Acirc;|&Atilde;|&Auml;|&Aring;|&AElig;|&Ccedil;|&Egrave;|";
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.