Afficher un message
Vieux 09/04/2008, 12h33   #17
Ben C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to wrap text in <p> tag if the text has no spaces and is very long

On 2008-04-03, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> Scripsit Ben C:

[...]
>> In fact Unicode specifications do define a lot of stuff about line
>> breaking

>
> Quite a lot indeed, with many oddities.
>
>> and most browsers either implement that or a simplification
>> of it although as we know they aren't required to.

>
> I don't think any browser even tries to get close to implementing
> Unicode line breaking rules or even a simplification of them.


If you're writing a browser that has to display text in a variety of
different scripts used for languages you aren't familiar with yourself,
it's much easier to load in the Unicode breaking class tables and use
the Unicode specification than it is to learn all those scripts and
their different conventions.
  Réponse avec citation
 
Page generated in 0,05624 seconds with 9 queries