On Wed, Jun 20, 2012 at 1:24 AM, Александр Орефков <oref...@gmail.com>wrote:

> Hi.
> If text of file in utf-8 contain not latin characters, alignment in
> side-by-side diffs web page broken.
> Seems to count bytes, not characters for alignment.
>

Fixed here:

   http://www.fossil-scm.org/fossil/info/484f8d29af

Observe that the first change-block in the diff above includes a change to
a line that contains multibyte unicode characters - to prove the the change
does in fact work.

However:  The change does not take into account zero-width unicode
characters.  Zero-width characters (usually diacritics expressed as
separate characters) will still throw off the columns.  But as zero-width
characters are the exception in western languages, perhaps this won't be
too bad.  Side-by-side diffs of text containing Hebrew, Thai, or Korean
will probably still be very funky, however.



>
> WBR, Alexander Orefkov
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to