Hi,

I heard and confirmed a problem of MMCoreTextView.m. The problem will
be occurred by non UTF-8 texts. Vim does send non UTF-8 texts by some
commands.
For example,
:set makeprg=shell_script_to_put_non_UTF-8_texts_like_CP932_encoding_texts
:make
MacVim will get an SIGSEGV exception at the following lines.

            // Convert UTF-8 chars to UTF-16
            CFStringRef sref = CFStringCreateWithBytesNoCopy(NULL, s, len,
                                kCFStringEncodingUTF8, false, kCFAllocatorNull);
            CFIndex unilength = CFStringGetLength(sref);

sref is NULL when Vim sends non UTF-8 text.

sakamoto

-- 
You received this message from the "vim_mac" 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

Reply via email to