[sword-devel] RTFHTML filter bugs

Chris Burrell chris at burrell.me.uk
Wed May 21 05:19:49 MST 2014


I believe some conf files have direct unicode (rather than escaped
sequences) in them and that is preferred.
On 20 May 2014 23:28, "Jaak Ristioja" <jaak at ristioja.ee> wrote:

> I've never done BiDi, but I'm not sure I need to take that into account
> while fixing the RTF parsing. As I currently understand it, this
> particular piece of code does not support any part from the RTF spec
> dealing with bidirectional text handling. Hence all BiDi information
> contained in the configuration file strings (e.g. About=) is contained
> either in the plain ASCII text or the \u<num> Unicode escapes which this
> algorithm should pass through unmodified.
>
> ...except for HTML entities which should actually be escaped. This bug
> in the algorithm I previously failed to notice. Additionally I forgot
> that non-ASCII characters in the input string should also lead to
> parsing failure.
>
> Jaak
>
>
> On 20.05.2014 21:01, David Haslam wrote:
> > Take care with Right to Left languages such as Hebrew.
> >
> > i.e. After any patches to the filter, please include some testing for
> BiDi
> > text in the About= field and others.
> >
> > David
> >
> >
> >
> > --
> > View this message in context:
> http://sword-dev.350566.n4.nabble.com/RTFHTML-filter-bugs-tp4653969p4653970.html
> > Sent from the SWORD Dev mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > sword-devel mailing list: sword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
> > Instructions to unsubscribe/change your settings at above page
> >
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140521/46272c02/attachment.html>


More information about the sword-devel mailing list