Le 21/07/2012 23:18, Richard Heck a écrit :
On 07/18/2012 03:40 PM, Jean-Marc Lasgouttes wrote:
Le 06/11/11 23:36, lasgout...@lyx.org a écrit :
Author: lasgouttes
Date: Sun Nov  6 23:36:14 2011
New Revision: 40149
URL: http://www.lyx.org/trac/changeset/40149

Log:
Fix shortenng of file names in MakeDisplayPath: it is not a good idea
to slice an utf8 string at arbitrary offsets, we have to work on a
docstring instead. We need unfortunately to switch back and orth
between utf8 and docstring.

This is a candidate for branch too, although the bug is minor.

I never asked for putting this on string, but it helps with hebrew
file names, for example. OK?

I'm clueless about bidi stuff, so if you think it's fine, it's fine.

It is not a matter of Bidi, but of strings with a lot of variable length UTF8 coding. When one splits the string at an arbitrary position chances are that it will become meaningless.
JMarc

Reply via email to