Fix for conversion error with coretext #6

wants to merge 1 commit into


None yet

2 participants

splhack commented Nov 19, 2010

Hi, I created a patch for vim_mac ML "MMCoreTextView has chars converting problem".

@splhack splhack Workaround fix for chars conversion error
MMCoreTextView would get SIGSEGV exception when Vim sent non UTF-8
byte sequence. It's possible to get any byte sequence in some
situations(:make and so forth).

It seems a bit dubious to insert into the text view (e.g. what if Vim were to render one char at a time [lots of them] and each failed to convert...not pretty). Either we should just silently drop the text that failed to convert, or ... I don't know?

splhack commented Dec 9, 2010

Yeah, we will just drop invalid UTF-8 chars. I was too worry about error. never mind :-)


Ok. I pushed the patch. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment