[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext: German character in <ref.po> causes msgmerge to abort
From: |
Felix Natter |
Subject: |
gettext: German character in <ref.po> causes msgmerge to abort |
Date: |
01 May 2001 12:02:17 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.100 |
hi,
If I try to apply msgmerge to a file which contains the German character ß
(sharp s), msgmerge stops with abort().
This also occurs when I msgmerge po-files of the GIMP, so it is most
likely a bug.
I am using version 0.10.37. This doesn't happen with gettext 0.10.35.
here is a backtrace
(the two files can be found here:
http://www.ndh.net/home/natter/de.po.old
and here:
http://www.ndh.net/home/natter/project.pot)
(gdb) set args de.po.old project.pot
(gdb) r
Starting program: /mnt/src/gettext-0.10.37/src/msgmerge de.po.old project.pot
. fertig.
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <address@hidden>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: cog_training 1.0\n"
"POT-Creation-Date: 2001-04-30 18:51+0200\n"
"PO-Revision-Date: 2001-04-29 21:19+02:00\n"
"Last-Translator: Felix Natter <address@hidden>\n"
"Language-Team: German <address@hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
#: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
msgid "white"
Program received signal SIGABRT, Aborted.
0x4003f931 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x4003f931 in kill () from /lib/libc.so.6
#1 0x4003f618 in raise () from /lib/libc.so.6
#2 0x40040c71 in abort () from /lib/libc.so.6
#3 0x8052ee2 in iconv_string_keeping_offsets (cd=0x80700e8,
s=0x806f370 "weiß |address@hidden|address@hidden", n=4, offtable=0x8070138,
t=0x8070148 "address@hidden|\017@", '\001' <repeats 12 times>, "!", m=5)
at linebreak.c:1658
#4 0x8053095 in mbs_width_linebreaks (s=0x806f370 "weiß
|address@hidden|address@hidden",
n=4, width=77, start_column=7, at_end_columns=0, o=0x806f380 "",
encoding=0xbffffc14 "ISO-8859-1", p=0x80700d8
"¨|address@hidden|address@hidden")
at linebreak.c:1806
#5 0x80504b8 in wrap (fp=0x400f7820, line_prefix=0x0,
name=0x8055917 "msgstr", value=0x8076a88 "weiß", do_wrap=undecided,
charset=0xbffffc14 "ISO-8859-1") at write-po.c:430
#6 0x8050d76 in message_print (mp=0x806ef38, fp=0x400f7820,
domain=0x8071338 "messages", charset=0xbffffc14 "ISO-8859-1",
blank_line=1, debug=0) at write-po.c:691
#7 0x80515ba in message_list_print (mlp=0x806eb80,
filename=0x80702e4 "Standardausgabe", force=0, debug=0) at write-po.c:921
#8 0x804ab0b in main (argc=3, argv=0xbffffd14) at msgmerge.c:290
(gdb)
The problem occurs only if a German character is at the end of
msgstr. i.e. msgstr "straße" does work, but msgstr "weiß" does not.
thanks,
--
Felix Natter
- gettext: German character in <ref.po> causes msgmerge to abort,
Felix Natter <=