Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

vim-multibyte · Vim (Vi IMproved) text editor special language list

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 2700 - 2729 of 2761   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2700 From: Ramana Kumar <ramana.kumar@...>
Date: Tue Sep 21, 2010 2:26 am
Subject: to or till (f or t) a non-ascii character
ramana.kumar@...
Send Email Send Email
 
I have set up some abbreviations to turn certain ASCII strings into
appropriate Unicode counterparts, for example from '==>' to '=>'. This works
wonderfully.

One problem, however, is when I now have a Unicode character sitting in my
buffer, I can't jump to it easily using the insert-mode 't' and 'f'
commands. Is there any way I could do this? The best for me would be if I
could do a 't=' and have it count occurrences of '=>' among the things to
jump to, since I originally typed '=' to get that character.

A related but different issue is getting those characters into the command
line buffer, for example if I want to search for a a string containing
Unicode characters. My abbreviations won't work in that buffer... is there a
way to get them to work? Or what about yanking/putting text between the main
buffer and the command buffer?

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2701 From: "John Beckett" <johnb.beckett@...>
Date: Tue Sep 21, 2010 11:18 am
Subject: RE: to or till (f or t) a non-ascii character
johnb.beckett@...
Send Email Send Email
 
Ramana Kumar wrote:
> to or till (f or t) a non-ascii character

This mailing list has almost no traffic. While in principle it
is the correct one for your question, in practice you should
send a new message to vim_use (don't bother mentioning that you
posted here; just send a new message).

> Or what about yanking/putting text between the main buffer and
> the command buffer?

I can comment on this. If you yank some text (e.g. yiw), you can
paste it into the command line by pressing Ctrl-R then " (a
double quote for the unnamed register, see ':help registers').

John

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2702 From: Ramana Kumar <ramana.kumar@...>
Date: Tue Sep 21, 2010 9:48 pm
Subject: Re: to or till (f or t) a non-ascii character
ramana.kumar@...
Send Email Send Email
 
On Wed, Sep 22, 2010 at 12:50 AM, Muskoka Auto Parts Limited
<map@...> wrote:
> On 10-09-20 10:26 PM, Ramana Kumar wrote:
>> I have set up some abbreviations to turn certain ASCII strings into
>> appropriate Unicode counterparts, for example from '==>' to '=>'. This works
>> wonderfully.
>
> Neat idea! Care to share your whole list?

Look at the holabs.vim file here
http://hol.svn.sourceforge.net/viewvc/hol/HOL/tools/vim/

>
> Brian
>
>

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2703 From: sedmonds <scott.edmonds@...>
Date: Sun Oct 17, 2010 5:40 am
Subject: Re: TextExpander
scott.edmonds@...
Send Email Send Email
 
Hi,

Have you found a solution for using VIm with Textexpander.

I discovered that by first inserted successive blank lines(more than 8) that
textexpander rules work just fine.

I am running 10.6.4 and the latest version TE.

Let me know if this works for you.
--
View this message in context:
http://vim.1045645.n5.nabble.com/TextExpander-tp1223299p3215956.html
Sent from the Vim - Multibyte mailing list archive at Nabble.com.

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2704 From: Bram Moolenaar <Bram@...>
Date: Wed Oct 20, 2010 10:15 am
Subject: Updated list of features to vote on
Bram@...
Send Email Send Email
 
Now that Vim 7.3 has been released, these features no longer need your
votes, as they have been included:

- "add the conceal patch from Vince Negri"
- "add a strong encryption method"
- "Add the relative numbers patch by Markus Heidelberg"
- "add persistent undo: undo is still possible after exiting Vim"

I have removed these items.  If you voted on them, you should now use
your votes for other features.  You can update them here, after logging
in: http://www.vim.org/sponsor/vote.php

You can see the voting results on this page:
http://www.vim.org/sponsor/vote_results.php


You haven't voted yet, or your voting rights have expired?  See this
page on how to be able to vote for Vim features:
http://www.vim.org/sponsor/index.php

All the donated money goes to Uganda to help poor children in Kibaale,
see http://iccf-holland.org/

--
FATHER: One day, lad, all this will be yours ...
PRINCE: What - the curtains?
                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2705 From: Bram Moolenaar <Bram@...>
Date: Wed Oct 20, 2010 10:15 am
Subject: Updated list of features to vote on
Bram@...
Send Email Send Email
 
Now that Vim 7.3 has been released, these features no longer need your
votes, as they have been included:

- "add the conceal patch from Vince Negri"
- "add a strong encryption method"
- "Add the relative numbers patch by Markus Heidelberg"
- "add persistent undo: undo is still possible after exiting Vim"

I have removed these items.  If you voted on them, you should now use
your votes for other features.  You can update them here, after logging
in: http://www.vim.org/sponsor/vote.php

You can see the voting results on this page:
http://www.vim.org/sponsor/vote_results.php


You haven't voted yet, or your voting rights have expired?  See this
page on how to be able to vote for Vim features:
http://www.vim.org/sponsor/index.php

All the donated money goes to Uganda to help poor children in Kibaale,
see http://iccf-holland.org/

--
FATHER: One day, lad, all this will be yours ...
PRINCE: What - the curtains?
                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the  "vim_announce" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2706 From: Bram Moolenaar <Bram@...>
Date: Wed Oct 27, 2010 4:29 pm
Subject: Vim 7.3.046 binaries available
Bram@...
Send Email Send Email
 
Hello Vim users,

I decided to make an update of the MS-Windows binaries, with all the 46
patches applied.

A list with a short explanation of the patches is on the ftp server:
ftp://ftp.vim.org/pub/vim/patches/7.3/README

These are the available files under ftp://ftp.vim.org/pub/vim/pc :

pc/gvim73_46.exe        installer for GUI and console executables,
                         includes all runtime files, many features

pc/vim73_46rt.zip       runtime files
pc/gvim73_46.zip        GUI binary for Windows 95/98/NT/2000/XP
pc/gvim73_46ole.zip     GUI binary with OLE support
pc/gvim73_46_s.zip      GUI binary for Windows 3.1 (untested)
pc/vim73_46d32.zip      console version for MS-DOS/Windows 95/98
pc/vim73_46w32.zip      console version for Windows NT/2000/XP
pc/vim73_46src.zip      sources for PC (with CR-LF)

If you don't know what file to download, go here:
http://www.vim.org/download.php#pc

Happy Vimming!

--
-rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
-rwxr-xr-t  4 root      131720 Jan  1  1970 /usr/ucb/vi
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2707 From: Bram Moolenaar <Bram@...>
Date: Wed Oct 27, 2010 4:29 pm
Subject: Vim 7.3.046 binaries available
Bram@...
Send Email Send Email
 
Hello Vim users,

I decided to make an update of the MS-Windows binaries, with all the 46
patches applied.

A list with a short explanation of the patches is on the ftp server:
ftp://ftp.vim.org/pub/vim/patches/7.3/README

These are the available files under ftp://ftp.vim.org/pub/vim/pc :

pc/gvim73_46.exe        installer for GUI and console executables,
                         includes all runtime files, many features

pc/vim73_46rt.zip       runtime files
pc/gvim73_46.zip        GUI binary for Windows 95/98/NT/2000/XP
pc/gvim73_46ole.zip     GUI binary with OLE support
pc/gvim73_46_s.zip      GUI binary for Windows 3.1 (untested)
pc/vim73_46d32.zip      console version for MS-DOS/Windows 95/98
pc/vim73_46w32.zip      console version for Windows NT/2000/XP
pc/vim73_46src.zip      sources for PC (with CR-LF)

If you don't know what file to download, go here:
http://www.vim.org/download.php#pc

Happy Vimming!

--
-rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
-rwxr-xr-t  4 root      131720 Jan  1  1970 /usr/ucb/vi
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs

  /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
You received this message from the  "vim_announce" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2708 From: yecril <yecril71pl@...>
Date: Sun Nov 14, 2010 11:11 pm
Subject: autocmd to recognise encoding by file name?
yecril71pl@...
Send Email Send Email
 
Apache httpd officially sets charset of .latin2.html files to
ISO-8859-2 [1], and so should vim.

au BufNewFile,BufReadPre *.latin2.html :e ++enc=latin2

That is the idea, although I do not know whether it is correct, where
to put it, how to handle file read/write and the like.  The same
applies to other supported encodings as well.  Also, no idea how to
handle multiple extensions; it seems that httpd actually
prefers .html.latin2 because of MultiViews (selecting candidate
sources on the fly).

[1] <URL: file:///etc/apache2/mod_mime-defaults.conf >

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2709 From: Bram Moolenaar <Bram@...>
Date: Sat Dec 18, 2010 2:26 pm
Subject: Vim desktop calendar for 2011
Bram@...
Send Email Send Email
 
Hello Vim users,

The handy Vim desktop calendar for 2011 can now be downloaded:

http://www.moolenaar.net/#Calendar

You can print this on one sheet of sturdy paper, fold it and put it on
your desk.  On one side there is a 12 month calendar, on the rear short
info about ICCF, Vim and Zimbu.

Direct links:

English - A4     http://www.moolenaar.net/2011_en_a4.pdf
English - Letter http://www.moolenaar.net/2011_en_le.pdf
Dutch - A4       http://www.moolenaar.net/2011_nl_a4.pdf

Happy holidays!


PS. Don't forget to do your Amazon orders through:
http://iccf-holland.org/click1.html


--
"So this is it," said Arthur, "we are going to die."
"Yes," said Ford, "except...no!  Wait a minute!"  He suddenly lunged across
the chamber at something behind Arthur's line of vision.  "What's this
switch?" he cried.
"What?   Where?" cried Arthur, twisting around.
"No, I was only fooling," said Ford, "we are going to die after all."
		 -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

  /// Bram Moolenaar -- Bram@... -- 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_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2710 From: Bram Moolenaar <Bram@...>
Date: Sat Dec 18, 2010 2:26 pm
Subject: Vim desktop calendar for 2011
Bram@...
Send Email Send Email
 
Hello Vim users,

The handy Vim desktop calendar for 2011 can now be downloaded:

http://www.moolenaar.net/#Calendar

You can print this on one sheet of sturdy paper, fold it and put it on
your desk.  On one side there is a 12 month calendar, on the rear short
info about ICCF, Vim and Zimbu.

Direct links:

English - A4     http://www.moolenaar.net/2011_en_a4.pdf
English - Letter http://www.moolenaar.net/2011_en_le.pdf
Dutch - A4       http://www.moolenaar.net/2011_nl_a4.pdf

Happy holidays!


PS. Don't forget to do your Amazon orders through:
http://iccf-holland.org/click1.html


--
"So this is it," said Arthur, "we are going to die."
"Yes," said Ford, "except...no!  Wait a minute!"  He suddenly lunged across
the chamber at something behind Arthur's line of vision.  "What's this
switch?" he cried.
"What?   Where?" cried Arthur, twisting around.
"No, I was only fooling," said Ford, "we are going to die after all."
		 -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

  /// Bram Moolenaar -- Bram@... -- 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_announce" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2711 From: Donald Ephraim Curtis <dcurtis@...>
Date: Mon Dec 27, 2010 7:49 pm
Subject: Re: TextExpander
dcurtis@...
Send Email Send Email
 
There is now an option in TextExpander that says "Always use clipboard to insert snippet" and this seems to work in MacVim for me.

There is a problem with the main MacVim window that they disabled inserting to a range for some reason.  I think they need to fix it but for now this works.

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2712 From: Bram Moolenaar <Bram@...>
Date: Wed Apr 6, 2011 6:08 pm
Subject: Vim charity update
Bram@...
Send Email Send Email
 
Hello Vim users,

I have visited Vim's recommended charity in Uganda.  This project helps
needy children in Kibaale.  You can find it on the ICCF website:
http://iccf-holland.org/news.html

A lot of pictures can be found here:
http://picasaweb.google.com/brammoolenaar/KibaaleChildrensCentre2011

In case you wonder how much of the donations actually ends up at the
project: for 2010 it was 99.5 %.  More numbers in the financial report:
http://iccf-holland.org/jaarrekening2010en.pdf


PS. Don't forget to do your Amazon orders through:
http://iccf-holland.org/click1.html


--
Our job was to build a computer information system for the branch banks.  We
were the perfect people for the job: Dean had seen a computer once, and I had
heard Dean talk about it.
				 (Scott Adams - The Dilbert principle)

  /// Bram Moolenaar -- Bram@... -- 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_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2713 From: Bram Moolenaar <Bram@...>
Date: Wed Apr 6, 2011 6:08 pm
Subject: Vim charity update
Bram@...
Send Email Send Email
 
Hello Vim users,

I have visited Vim's recommended charity in Uganda.  This project helps
needy children in Kibaale.  You can find it on the ICCF website:
http://iccf-holland.org/news.html

A lot of pictures can be found here:
http://picasaweb.google.com/brammoolenaar/KibaaleChildrensCentre2011

In case you wonder how much of the donations actually ends up at the
project: for 2010 it was 99.5 %.  More numbers in the financial report:
http://iccf-holland.org/jaarrekening2010en.pdf


PS. Don't forget to do your Amazon orders through:
http://iccf-holland.org/click1.html


--
Our job was to build a computer information system for the branch banks.  We
were the perfect people for the job: Dean had seen a computer once, and I had
heard Dean talk about it.
				 (Scott Adams - The Dilbert principle)

  /// Bram Moolenaar -- Bram@... -- 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_announce" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2714 From: DanKegel <daniel.r.kegel@...>
Date: Fri Apr 8, 2011 5:33 am
Subject: Trouble getting started with vim and utf-8 file
daniel.r.kegel@...
Send Email Send Email
 
The file http://winetricks.org/winetricks is, I hope, a utf-8 file,
but is not recognized as such in the vim that comes
with ubuntu 11.04 (with german locale, even).
It's mostly ascii, with just a few non-ascii lines, e.g.

#   If you do not see an o with two dots over it here [], stop!
...
         mymenu="$HOME/.local/share/applications/wine/Programs/
Electronic Arts/Th
e Sims Medieval/The Sims Medieval.desktop"

That first line contains an o umlaut, and the second line contains the
trademark symbol.

Opening the file with vi winetricks shows

#   If you do not see an o with two dots over it here [ö], stop!
...
          mymenu="$HOME/.local/share/applications/wine/Programs/
Electronic Arts/The Sims Medieval/The Sims<84> Medieval.desktop"

which isn't right.  Just opening up vi with no arguments, and doing
   !!cat winetricks
brings the file in great, and the utf-8 chars look good, but then
saving it complains
"winetricks"  CONVERSION ERROR in line 12328; 14640 lines, 496509
characters written
and yields a very corrupt file.

So what's going on?  It seems that vim has decided the file Is Not
UTF-8.  :se shows
   fileencoding=latin1
   fileencodings=ucs-bom,utf-8,default,latin1
even if I put
   set encoding=utf8 fileencoding=utf8
in ~/.vimrc.

Help...

Thanks,
Dan

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2715 From: Aleksey <alex.baibarin@...>
Date: Fri Apr 8, 2011 7:07 am
Subject: Re: Trouble getting started with vim and utf-8 file
alex.baibarin@...
Send Email Send Email
 
Here's what i've found

Opening this file in gVim doesn't show it right. Encoding detected is
cp1251 (on my config)

issuing this command
:e ++enc=utf-8

did fine and displayed TM symbol, but it also gave warning about
illegal byte at line 7388
which looked so
    title="?Torrent 3.0" \
Previous section had  , so just replaced illegal char with it.

Saving/opening from command line - works fine with encoding detected

It doesn't answer your question, just a workaround

On Apr 8, 9:33am, DanKegel <daniel.r.ke...@...> wrote:
> The filehttp://winetricks.org/winetricksis, I hope, a utf-8 file,
> but is not recognized as such in the vim that comes
> with ubuntu 11.04 (with german locale, even).
> It's mostly ascii, with just a few non-ascii lines, e.g.
>
> #  If you do not see an o with two dots over it here [], stop!
> ...
>     mymenu="$HOME/.local/share/applications/wine/Programs/
> Electronic Arts/Th
> e Sims Medieval/The Sims Medieval.desktop"
>
> That first line contains an o umlaut, and the second line contains the
> trademark symbol.
>
> Opening the file with vi winetricks shows
>
> #  If you do not see an o with two dots over it here [ö], stop!
> ...
>     mymenu="$HOME/.local/share/applications/wine/Programs/
> Electronic Arts/The Sims Medieval/The Sims<84> Medieval.desktop"
>
> which isn't right. Just opening up vi with no arguments, and doing
>  !!cat winetricks
> brings the file in great, and the utf-8 chars look good, but then
> saving it complains
> "winetricks" CONVERSION ERROR in line 12328; 14640 lines, 496509
> characters written
> and yields a very corrupt file.
>
> So what's going on? It seems that vim has decided the file Is Not
> UTF-8. :se shows
>  fileencoding=latin1
>  fileencodings=ucs-bom,utf-8,default,latin1
> even if I put
>  set encoding=utf8 fileencoding=utf8
> in ~/.vimrc.
>
> Help...
>
> Thanks,
> Dan

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2716 From: Dan Kegel <dank@...>
Date: Fri Apr 8, 2011 9:51 pm
Subject: Re: Trouble getting started with vim and utf-8 file
dank@...
Send Email Send Email
 
Thanks very much, guys!

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2717 From: Tony Mechelynck <antoine.mechelynck@...>
Date: Fri Apr 8, 2011 7:22 am
Subject: Re: Trouble getting started with vim and utf-8 file
antoine.mechelynck@...
Send Email Send Email
 
On 08/04/11 07:33, DanKegel wrote:
> The file http://winetricks.org/winetricks is, I hope, a utf-8 file,
> but is not recognized as such in the vim that comes
> with ubuntu 11.04 (with german locale, even).
> It's mostly ascii, with just a few non-ascii lines, e.g.
>
> #   If you do not see an o with two dots over it here [], stop!
> ...
>          mymenu="$HOME/.local/share/applications/wine/Programs/
> Electronic Arts/Th
> e Sims Medieval/The Sims Medieval.desktop"
>
> That first line contains an o umlaut, and the second line contains the
> trademark symbol.
>
> Opening the file with vi winetricks shows
>
> #   If you do not see an o with two dots over it here [ö], stop!
> ...
>           mymenu="$HOME/.local/share/applications/wine/Programs/
> Electronic Arts/The Sims Medieval/The Sims<84> Medieval.desktop"
>
> which isn't right.  Just opening up vi with no arguments, and doing
>    !!cat winetricks
> brings the file in great, and the utf-8 chars look good, but then
> saving it complains
> "winetricks"  CONVERSION ERROR in line 12328; 14640 lines, 496509
> characters written
> and yields a very corrupt file.
>
> So what's going on?  It seems that vim has decided the file Is Not
> UTF-8.  :se shows
>    fileencoding=latin1
>    fileencodings=ucs-bom,utf-8,default,latin1
> even if I put
>    set encoding=utf8 fileencoding=utf8
> in ~/.vimrc.
>
> Help...
>
> Thanks,
> Dan
>

I've downloaded that file in my browser, then tried to open it in Vim,
which does not see it as UTF-8 even though I have 'enc' set to utf-8 and
'fencs' set to ucs-bom,utf-8,latin1

Intrigued, I hit 8g8 which brings me to line 7388 column 11 where the
character  ("micro" prefix, similar to Greek mu, 0xB5) cannot be UTF-8
(bytes in the range 0x80 to 0xBF can only exist in UTF-8 as "trailing
bytes" in a multibyte sequence whose first byte is 0xC0 or higher).
Moving the cursor one position right and repeating gives me only a beep,
so this is AFAICT the only illegal character in the file -- but one
illegal byte in the whole file is enough to reject UTF-8 as the file's
'fileencoding'.

Rereading the file with

	 :view ++enc=utf-8

reads it as UTF-8 at the cost of an error message about line 7388, where
the  is now replaced by a question mark (but the o-umlaut at line 71
appears as ).

It seems that your file is in UTF-8 at line 71 but in Latin1 at line
7388, which means that it is the file's fault, not Vim's fault, that
such a file cannot be displayed correctly.

See
	 :help 8g8
	 :help ++opt


Best regards,
Tony.
--
Never hit a man with glasses.  Hit him with a baseball bat.

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2718 From: "John Beckett" <johnb.beckett@...>
Date: Sat Apr 9, 2011 12:13 am
Subject: RE: Trouble getting started with vim and utf-8 file
johnb.beckett@...
Send Email Send Email
 
DanKegel wrote:
> The file http://winetricks.org/winetricks is, I hope, a utf-8
> file, but is not recognized as such in the vim that comes
> with ubuntu 11.04 (with german locale, even).

It looks like you created that file, so you need to fix it
because it is not UTF-8.

Downloading the file with wget and dumping the bytes shows that
the character which I have shown as "?" in the following is not
valid UTF-8:
    title="?Torrent 3.0" \

That single byte is hex B5 or binary 10110101. That starts with
"10" which is never valid as the first byte of a character in
UTF-8.

BTW you can find that in Vim by opening the file and typing 8g8
which jumps to the next illegal byte sequence, then typing ga to
show the value.

John

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2719 From: Dan Kegel <dank@...>
Date: Sat Apr 9, 2011 12:58 am
Subject: Re: Trouble getting started with vim and utf-8 file
dank@...
Send Email Send Email
 
On Sat, Apr 9, 2011 at 12:13 AM, John Beckett <johnb.beckett@...> wrote:
> It looks like you created that file, so you need to fix it
> because it is not UTF-8.
>
> Downloading the file with wget and dumping the bytes shows that
> the character which I have shown as "?" in the following is not
> valid UTF-8:
>  title="?Torrent 3.0" \
>
> That single byte is hex B5 or binary 10110101. That starts with
> "10" which is never valid as the first byte of a character in
> UTF-8.
>
> BTW you can find that in Vim by opening the file and typing 8g8
> which jumps to the next illegal byte sequence, then typing ga to
> show the value.

Yeah, that's what I gathered from the other replies.
Thanks!
- Dan

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2720 From: The Spot Provider <noreply+00751710889393762205@...>
Date: Tue May 17, 2011 6:27 am
Subject: The Spot Provider invites you to check out Make Money Online
noreply+00751710889393762205@...
Send Email Send Email
 

I'm following Make Money Online and think you'll be interested in it as well. To check it out, follow the link below:
http://thenetworkit.blogspot.com/?psinvite=ALRopfUHCYCvHuUT_rX9DLb0c8K6uSMAA0Cfct5yQ1GYaCcPy6awS175DX4HtnFoWEWJBjO9lATdSQ2fXGQ8s4DAiIXT0BWrjg

"I wanted to see you this."

-----
Google Friend Connect helps people with common interests discover interesting sites and interesting people. To learn more, visit http://www.google.com/friendconnect

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2721 From: forex <dream.anjel22@...>
Date: Thu May 19, 2011 6:50 am
Subject: Free online jobs for students and housewives without any registration fees
dream.anjel22@...
Send Email Send Email
 
Free online jobs for students and housewives without any registration
fees


     * No Investment. No Joining Fees.
     * SignUp Bonus $ 5, 20 cent for each referral
     * 100% Free to Join.
     * Home based Part time Online Jobs.

For further detail

Register this link

http://www.earnbyforex.com/index.php?id=33294993

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2722 From: sumeet inani <inanisumeet@...>
Date: Mon May 30, 2011 3:51 am
Subject: hindi in vim
inanisumeet@...
Send Email Send Email
 
Hi ,
I use debian 6.0.0.
I have installed
scim scim-m17n scim-gtk2-immodule m17n-db im-switch

My vim has lots of features
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 12 2010 02:31:36)
Included patches: 1-445
Modified by pkg-vim-maintainers@...
Compiled by jamessan@...
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand
+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap
+menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm
-mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte
+multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl +postscript
+printer +profile +python +quickfix +reltime +rightleft +ruby +scrollbind
+signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white +tcl +terminfo +termresponse
+textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
+X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save

I also read http://vimdoc.sourceforge.net/htmldoc/mbyte.html

I can write hindi fine in browsers & gedit using transliteration.
In vim I see that matra & letter are not positioned correctly.
Like in कु the matra उ appears before क not below it.
Here is Screenshot --> www.linuxquestions.orghas begun/qhas begunuestions/attachment.php?attachmentid=7155&d=1306693747

I am using 'Akshar Unicode' . 'Monospace' does not help either.
Do you get such problem ? If not  , what font you use ?
Thank you.


--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2723 From: Tony Mechelynck <antoine.mechelynck@...>
Date: Wed Jun 1, 2011 6:37 pm
Subject: Re: hindi in vim
antoine.mechelynck@...
Send Email Send Email
 
On 30/05/11 05:51, sumeet inani wrote:
> Hi ,
> I use debian 6.0.0.
> I have installed
> scim scim-m17n scim-gtk2-immodule m17n-db im-switch
>
> My vim has lots of features
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 12 2010 02:31:36)
> Included patches: 1-445
> Modified by pkg-vim-maintainers@...
> <mailto:pkg-vim-maintainers@...>
> Compiled by jamessan@... <mailto:jamessan@...>
> Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
> +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
> +cindent
> +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
> +comments
> +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
> +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
> +find_in_path
> +float +folding -footer +fork() +gettext -hangul_input +iconv
> +insert_expand
> +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds
> +localmap
> +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm
> -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte
> +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl
> +postscript
> +printer +profile +python +quickfix +reltime +rightleft +ruby +scrollbind
> +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax
> +tag_binary +tag_old_static -tag_any_white +tcl +terminfo +termresponse
> +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual
> +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
> +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save
>
> I also read http://vimdoc.sourceforge.net/htmldoc/mbyte.html
>
> I can write hindi fine in browsers & gedit using transliteration.
> In vim I see that matra & letter are not positioned correctly.
> Like in कु the matra उ appears before क not below it.
> Here is Screenshot --> www.linuxquestions.orghas begun/qhas
> begunuestions/attachment.php?attachmentid=7155&d=1306693747
>
<http://www.linuxquestions.org/questions/attachment.php?attachmentid=7155&d=1306\
693747>
>
> I am using 'Akshar Unicode' . 'Monospace' does not help either.
> Do you get such problem ? If not  , what font you use ?
> Thank you.

Devanagari, and Indian-subcontinent scripts in general, are very
difficult for an editor like Vim, which was originally meant to render
one character in one cell at a time in left-to-right sequence. Its
capabilities were extended for East-Asian scripts (where "wide" CJK
characters are displayed in two cells each), for Hebrew (display the
whole split-window right-to-left), for Arabic (one glyph at a time,
which may represent two characters in the case of lam-alif, and whose
shape may vary depending on position in the "word", in one cell at a
time but right to left -- and I put quotes around "word" because some
"non-joining" letters such as alif, dal, dhal, raa, zaay and waw end a
"word" even in the middle of a word), and for Unicode composing
characters (one or more glyphs at a time, in one cell), but AFAIK the
problem of nagari and similar Hindic scripts in Vim hasn't yet been tackled.

If you want to try solving this problem, you're welcome, but it won't be
easy.


Best regards,
Tony.
--
The only possible interpretation of any research whatever in the
`social sciences' is: some do, some don't.
		 -- Ernest Rutherford

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2724 From: Oleg Puchinin <graycardinalster@...>
Date: Sun Jun 12, 2011 1:13 pm
Subject: enter utf-8 symbols
graycardinalster@...
Send Email Send Email
 
Hello !
Is it possible to enter characters UTF-8 on the code? For example some
command? Say - entered the command with the correct hex code and got
the correct character?

Best regards,
Oleg.

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2725 From: mattn <mattn.jp@...>
Date: Mon Jun 13, 2011 3:00 am
Subject: Re: enter utf-8 symbols
mattn.jp@...
Send Email Send Email
 
Do you mean that you want to input utf-8 text without IME(Input Method Editor)?


--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2726 From: Tony Mechelynck <antoine.mechelynck@...>
Date: Mon Jun 13, 2011 3:22 am
Subject: Re: enter utf-8 symbols
antoine.mechelynck@...
Send Email Send Email
 
On 12/06/11 15:13, Oleg Puchinin wrote:
> Hello !
> Is it possible to enter characters UTF-8 on the code? For example some
> command? Say - entered the command with the correct hex code and got
> the correct character?
>
> Best regards,
> Oleg.
>

	 :help i_CTRL-V_digit (and even though it starts with i_ it also applies
to Command-line mode).

See also http://vim.wikia.com/wiki/Entering_special_characters


HTH,
Tony.
--
This is for all ill-treated fellows
	 Unborn and unbegot,
For them to read when they're in trouble
	 And I am not.
		 -- A. E. Housman

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2727 From: ZyX <zyx.vim@...>
Date: Mon Jun 13, 2011 3:37 am
Subject: Re: enter utf-8 symbols
zyx.vim@...
Send Email Send Email
 
Ответ на сообщение «enter utf-8 symbols»,
присланное в 17:13:12 12 июня 2011, Воскресенье.
Отправитель: Oleg Puchinin:

> Is it possible to enter characters UTF-8 on the code? For example some
> command? Say - entered the command with the correct hex code and got
> the correct character?
Yes. Some methods (X means «hex character»):
     <C-v>xXX
     <C-v>uXXXX
     <C-v>UXXXXXXXX
     <C-r>="\uXXXX"<CR>
     <C-r>=nr2char(0xX...)<CR>
(All meant to be run from insert or command mode. In second case input will go
to the command line.)

Текст сообщения:
> Hello !
> Is it possible to enter characters UTF-8 on the code? For example some
> command? Say - entered the command with the correct hex code and got
> the correct character?
>
> Best regards,
> Oleg.

#2728 From: Oleg Puchinin <graycardinalster@...>
Date: Mon Jun 13, 2011 8:21 am
Subject: Re: enter utf-8 symbols
graycardinalster@...
Send Email Send Email
 
Thank you, very much !!!

2011/6/13 ZyX <zyx.vim@...>:
>    <<enter utf-8 symbols>>,
>   17:13:12 12  2011, .
> : Oleg Puchinin:
>
>> Is it possible to enter characters UTF-8 on the code? For example some
>> command? Say - entered the command with the correct hex code and got
>> the correct character?
> Yes. Some methods (X means <<hex character>>):
>    <C-v>xXX
>    <C-v>uXXXX
>    <C-v>UXXXXXXXX
>    <C-r>="\uXXXX"<CR>
>    <C-r>=nr2char(0xX...)<CR>
> (All meant to be run from insert or command mode. In second case input will go
> to the command line.)
>
>  :
>> Hello !
>> Is it possible to enter characters UTF-8 on the code? For example some
>> command? Say - entered the command with the correct hex code and got
>> the correct character?
>>
>> Best regards,
>> Oleg.
>

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

#2729 From: "JOHNSON"<geojjjjqqqq@...>
Date: Sun Jul 10, 2011 12:49 pm
Subject: Am Waiting for your call Now +234-708 240 2705
geojjjjqqqq@...
Send Email Send Email
 
MY DEAR

This is to inform you that arrangements have been concluded as regards to the
shipment of your consignment of funds to your country. I choose to conclude it
and make sure it is off already before contacting you. I found out that this
consignment has been lying here because of non-payment of shipment fees.


This is why I decided to use my connections as the Shipment officer in charge of
the National Security warehouse. (This is where all the abandoned consignments
in Nigeria are kept at the orders of the Government of Nigeria.)


The consignment left Lagos Nigeria yesterday night en-route country via
Germany/Spain. It is metal box, silver in color with a weight of about 150kg,
the box is declared as containing diplomatic /inheritance documents only.


The name of the Courier Company based in Spain is Air Courier International
LtdCall me immediately so that I can give you the phone numbers of the courier
company in Spain so that you confirm when the consignment will arrive your
country.


All I need from you now is your full details.
(1) Your full names
(2) Your postal address
(3) Your private cell phone and fax number.
(4) Your international passport or Drivers lances if you have any.


I choose to do this for you because I studied your file and discovered that you
have paid a lot of money before abandoning this consignment and I believe you
will compensated me well when you receive the consignment.


Note: I know the content of the Box because I could see the amount you are being
owned by the Federal Government.


This is why I decided to get involved.You must also know that this arrangement
do not concern all the people you were dealing with in Nigeria before today as
this consignment/Payment has been surrendered to the Government.


Hence my involvement.
Am Waiting for your call Now +234-708 240 2705
EMAIL:  gejohnsqa@...
Best Regards,
DOCTOR GEORGE JOHNSON

--
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php

Messages 2700 - 2729 of 2761   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help