Mercurial > vim
comparison src/proto/mbyte.pro @ 3002:7d4e5e31d8c1 v7.3.273
updated for version 7.3.273
Problem: A BOM in an error file is seen as text. (Aleksey Baibarin)
Solution: Remove the BOM from the text before evaluating. (idea by Christian
Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 10 Aug 2011 13:21:46 +0200 |
parents | 0bef86c5c985 |
children | 43c15135926f |
comparison
equal
deleted
inserted
replaced
3001:f6729327ecaf | 3002:7d4e5e31d8c1 |
---|---|
1 /* mbyte.c */ | 1 /* mbyte.c */ |
2 int enc_canon_props __ARGS((char_u *name)); | 2 int enc_canon_props __ARGS((char_u *name)); |
3 char_u *mb_init __ARGS((void)); | 3 char_u *mb_init __ARGS((void)); |
4 int bomb_size __ARGS((void)); | 4 int bomb_size __ARGS((void)); |
5 void remove_bom __ARGS((char_u *s)); | |
5 int mb_get_class __ARGS((char_u *p)); | 6 int mb_get_class __ARGS((char_u *p)); |
6 int dbcs_class __ARGS((unsigned lead, unsigned trail)); | 7 int dbcs_class __ARGS((unsigned lead, unsigned trail)); |
7 int latin_char2len __ARGS((int c)); | 8 int latin_char2len __ARGS((int c)); |
8 int latin_char2bytes __ARGS((int c, char_u *buf)); | 9 int latin_char2bytes __ARGS((int c, char_u *buf)); |
9 int latin_ptr2len __ARGS((char_u *p)); | 10 int latin_ptr2len __ARGS((char_u *p)); |