Bug#384903: texmacs: ispell dies on 8-bit chars
On 8/28/06, René van Bevern <[EMAIL PROTECTED]> wrote: Teemu Ikonen <[EMAIL PROTECTED]> writes: > If I start texmacs in the command line, this error message appears: > TeXmacs] ispell error: Word '�' contains illegal characters > > Other non-ascii characters like umlauts show this same behaviour. This is invisible to me. I tried it with the document language set to German, French and English and ispell reads my umlauted and otherwise non-ASCII words just fine (up to the point where it fails for the above mentioned bug) What is your document language set to? How is ispell called? (see the console messages) I get this with american and british, but curiously, not with finnish. The complete console output after starting the spellchecker is TeXmacs] Launching 'ispell -a -d american' TeXmacs] ispell error: Word '�' contains illegal characters As I'm currently using an american keyboard, I write my Å's by copypasting from the gnome character palette applet. For some obscure reason, this does not work directly, but I have to paste the character to a (gnome-) terminal first, and then select it from there, after which I can paste by middle-clicking. The result of this is that I get a single byte character with a hex-code of C5 to my .tm file. I'm not sure how TeXmacs handles unicode, but this looks a bit suspicious. The '�' I get in the console error message seems to have a code point of no less than 0xEFBFBD, if I copy this to a text file and look it with hexdump. Strange, Teemu
Bug#384903: texmacs: ispell dies on 8-bit chars
Teemu Ikonen <[EMAIL PROTECTED]> writes: tags 384903 moreinfo thanks Hello, > Writing an Angstrom sign (Å) to a text in TeXmacs and trying to > spellcheck with ispell causes the Å to be detected as a spelling > error. After pressing any of the Accept / Replace / Insert options, I > get an "error: ispell does not respond". To this point this is a known upstream bug that is caused because the communication between TeXmacs and ispell are out of sync [1] and I can reproduce this, but: > If I start texmacs in the command line, this error message appears: > TeXmacs] ispell error: Word '�' contains illegal characters > > Other non-ascii characters like umlauts show this same behaviour. This is invisible to me. I tried it with the document language set to German, French and English and ispell reads my umlauted and otherwise non-ASCII words just fine (up to the point where it fails for the above mentioned bug) What is your document language set to? How is ispell called? (see the console messages) René Footnotes: [1] http://savannah.gnu.org/bugs/?func=detailitem&item_id=15393 -- René van Bevern <[EMAIL PROTECTED]> http://progn.org http://www.debian.org http://www.pro-linux.de pgpfz0XeEa3wV.pgp Description: PGP signature
Bug#384903: texmacs: ispell dies on 8-bit chars
Package: texmacs Version: 1:1.0.6-9 Severity: normal Writing an Angstrom sign (Å) to a text in TeXmacs and trying to spellcheck with ispell causes the Å to be detected as a spelling error. After pressing any of the Accept / Replace / Insert options, I get an "error: ispell does not respond". If I start texmacs in the command line, this error message appears: TeXmacs] ispell error: Word '�' contains illegal characters Other non-ascii characters like umlauts show this same behaviour. Teemu -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (450, 'testing'), (400, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages texmacs depends on: ii gs-gpl8.50-1.1 The GPL Ghostscript PostScript int ii guile-1.6-libs1.6.8-4Main Guile libraries ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libfreetype6 2.2.1-2FreeType 2 font engine, shared lib ii libgcc1 1:4.1.1-5 GCC support library ii libguile-ltdl-1 1.6.8-4Guile's patched version of libtool ii libltdl3 1.5.22-4 A system independent dlopen wrappe ii libqthreads-121.6.8-4QuickThreads library for Guile ii libstdc++64.1.1-5The GNU Standard C++ Library v3 ii libx11-6 2:1.0.0-8 X11 client-side library ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar ii tetex-base3.0-20 Basic library files of teTeX ii tetex-bin 3.0-18 The teTeX binary files ii tetex-extra 3.0-20 Additional library files of teTeX ii texmacs-common1:1.0.6-9 WYSIWYG mathematical text editor u ii xbase-clients 1:7.1.ds-3 miscellaneous X clients ii zlib1g1:1.2.3-13 compression library - runtime Versions of packages texmacs recommends: ii imagemagick 7:6.2.4.5.dfsg1-0.9 Image manipulation programs ii ispell 3.1.20.0-4.3International Ispell (an interacti ii libjpeg-progs6b-13 Programs for manipulating JPEG fil ii librsvg2-bin 2.14.4-2command-line and graphical viewers ii libtiff-tools3.8.2-6 TIFF manipulation and conversion t ii netpbm 2:10.0-10.1 Graphics conversion tools ii texmacs-extra-fonts 0.1 extra fonts for the mathematical t ii xfig 1:3.2.5-alpha5-7Facility for Interactive Generatio -- no debconf information