Re: CarbonVim encoding problem
- Benji Fisher wrote:
> > Sébastien Pierre wrote:If you do have the iconv library, configure should find it
> >> I have checked with :version, and iconv has not been compiled in. This
> >> may be the reason why the encodings do not work properly?
> > Yes, without iconv no conversion is possible.
> Should I add something like "Enable font conversions with iconv" to
> the list of bugs on my web page? Or is this something that I can add at
> compile time?
automatically. However, I don't know if this works on the mac. You
could try defining USE_ICONV and see what happens. Perhaps define
HAVE_ICONV_H as well.
Another problem is that you might have the iconv library, but someone
who runs your compiled binary doesn't. The best way to solve this is by
dynamically loading the library. But currently this is only implemented
for MS-Windows. Would be a great help to have this on more systems!
> > --Then I need someone else to clean my house! :-)
> > Q: How to decide if I should clean my house or work on improving Vim?
> > A: Depends on which has more bugs.
> I think you should multiply the number of bugs by the number of
> people bothered by each bug. ;)
hundred-and-one symptoms of being an internet addict:
60. As your car crashes through the guardrail on a mountain road, your first
instinct is to search for the "back" button.
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
/// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
\\\ Project leader for A-A-P -- http://www.a-a-p.org ///
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
> Another problem is that you might have the iconv library, but someoneMacOS X (Carbon) has a set of APIs which called "Text Encoding
> who runs your compiled binary doesn't. The best way to solve this is by
> dynamically loading the library. But currently this is only implemented
> for MS-Windows. Would be a great help to have this on more systems!
Conversion Manager". It works as like as iconv library. So I have
wrote iconv emulation layer for MacOS X using these APIs, and now I am
testing for Vim. This emulation layer is not so big as iconv library is,
so it could be included in vim.
Please try below patch and Makefile.
In this layer, I add some aliases for Japansese encoding name. I'm
glad, if anyone add aliases for another languages (ex. Chinese, Korean)
MURAOKA Taro <koron@...>