On 10/11/09 22:24, Sean wrote:
>
> Hi Tony,
>
> I thought I had enough knowledge on UNICODE and UTF8, but it is
> nothing after reading your message.
>
> Now, I get what I want:
>
> let input = "\xE9\xA6\xAC"
> let output=iconv(input, "utf-8", "utf8")
>
> Bingo! The output is real ==> '馬'
>
> Thanks again.
>
> Sean
The particular parameters you give to iconv make it an identity permutation.
When I do
:echo "\xE9\xA6\xAC"
(with 'encoding' set to "utf-8") the result is
馬
Best regards,
Tony.
--
"I am, in point of fact, a particularly haughty and exclusive person,
of pre-Adamite ancestral descent. You will understand this when I tell
you that I can trace my ancestry back to a protoplasmal primordial
atomic globule. Consequently, my family pride is something
inconceivable. I can't help it. I was born sneering."
-- Pooh-Bah, "The Mikado", Gilbert & Sullivan
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---