Comment 24 for bug 324256

Revision history for this message
julien (julien-aubert) wrote : Re: [Bug 324256] Re: Strange symbols instead '-' in smart text output

I am one of those still using Cuneiform, however, unfortunately there
is no maintainer of Cuneiform as of now.
Thanks for posting the patch
Regards
Julien

2011/12/13 Alexander Kandaurov <email address hidden>:
> The problem is caused by the em dash appearing in rcm.c as a unicode character while the program uses one-byte encoding in its internals and converts it to unicode while producing the output. The included patch solves the issue.
> Other suspicious places in the source that may cause issues similar to this are line 550 of Kern/rstr/src/rcm.c and line 98 of Kern/rling/sources/c/speldict.c.
>
> ** Patch added: "cuneiform-linux-1.1.0-emdash.patch"
>   https://bugs.launchpad.net/cuneiform-linux/+bug/324256/+attachment/2631040/+files/cuneiform-linux-1.1.0-emdash.patch
>
> --
> You received this bug notification because you are a member of Cuneiform
> Linux, which is the registrant for Cuneiform for Linux.
> https://bugs.launchpad.net/bugs/324256
>
> Title:
>  Strange symbols instead '-' in smart text output
>
> Status in Linux port of Cuneiform:
>  New
>
> Bug description:
>  At line 1, 33, 55 in smarttext output (see attach). It looks like bad
>  substitution (0xE2,0x80,0x94) for dash.
>
>  I use 'smarttext' output format.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cuneiform-linux/+bug/324256/+subscriptions