Danek Duvall wrote:
> After changeset 4303f7b6f72f, I'm seeing this:
>
> OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
> Processing file "zh_CN.cp936.po"...
> GNU PO file found.
> Generating the MO file in the GNU MO format.
> Processing file "zh_CN.cp936.po"...
> ERROR: Line 2899 (zh_CN.cp936.po): Invalid character found.
> make[3]: *** [zh_CN.cp936.mo] Error 2
>
> GNU msgfmt doesn't have any problems with the file, and Solaris iconv
> doesn't support cp936, but on Linux, I do see
>
> $ iconv -f cp936 -t utf8 zh_CN.cp936.po| tail
> iconv: illegal input sequence at position 65551
> <output>
>
> and the output abruptly terminates in the middle of the offending line.
The file is generated from zh_CN.po with the command:
iconv -f gb2312 -t cp936 zh_CN.po | \
sed -e 's/charset=gb2312/charset=gbk/' -e 's/# Original
translations/# Generated from zh_CN.po, DO NOT EDIT/' > zh_CN.cp936.po
This would suggest that either iconv makes an error or a character is
not available in the target encoding.
--
hundred-and-one symptoms of being an internet addict:
197. Your desk collapses under the weight of your computer peripherals.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.