lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV w32-lynx: ­ != ­


From: Bernhard Muenzer
Subject: LYNX-DEV w32-lynx: ­ != ­
Date: Thu, 11 Sep 1997 15:16:52 +0100

I found an inconsistency in the handling of entity tables in UNIX (2-7-1) 
and Win32 (2.7.1ac-0.49). The Unix version handles the soft hyphen correctly, 
regardless of whether it is presented in 8-bit code, as "­" or as "­".

The Win32 version only handles the 8-bit and "­" presentations correctly, 
while "­" seems to be translated to a regular hyphen.

The effect can be seen in
http://www.forwiss.uni-passau.de/~ramsch/Test/trennung.html

Here is the relevant part of the page, captured from a Lynx-W32 screen
(it is in German, but the effect should be self-evident):

  Mit der Entity >>&#173;<<

   Be=son=ders laen=gere Woer=ter wie
   Do=nau=dampf=schif=fahrts=ge=sell=schafts=ka=pi=taens=muet=zen=her=stel=
   lungs=fa=brik=lei=ter=aus=bil=dung sind schwer oh=ne Hil=fe trenn=bar
   und oh=ne Trenn=hilfe auch gar nicht um=zu=brechen.

  Mit der Entity >>&shy;<<

   Besonders laengere Woerter wie Donaudampfschiffahrtsgesellschaftskapi-
   taensmuetzenherstellungsfabrikleiterausbildung sind schwer ohne Hilfe
   trennbar und ohne Trennhilfe auch gar nicht umzubrechen.

The Unix version displays both paragraphs in the same way.
-- 
int m,u,e=0;float l,_,I;main(){for(;1840-e;putchar((++e>912&&941>
e?60-m:u)["\n)address@hidden(rezneuM drahnreB"]))for(u=_=l=0;79-(m=e%
80)&&I*l+_*_<6&&20-++u;_=2*l*_+e/80*.09-1,l=I)I=l*l-_*_-2+m/27.;}
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]