Wikia

Vim Tips Wiki

Changes: Script:199

Edit

Back to page

m (fix script links)
(adjust Template:ScriptComments to remove id as no longer needed; minor tweaks)
 
Line 1: Line 1:
{{ScriptComments|199|charset.vim: Read file in proper encoding}}
+
{{ScriptComments|charset: read file in proper encoding}}
   
 
==Comments==
 
==Comments==

Latest revision as of 07:36, November 15, 2011

Use this page to discuss script 199 charset: read file in proper encoding

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

CommentsEdit

It does not look like this plugin will work as advertised for HTML/XML files except in specific cases. There does not appear to be any logic in the code to translate the IANA charset name into a Vim encoding name, e.g. it will try to use "windows-1252" as the fenc instead of translating this to "cp1252".

Additionally, the script has had no updates since the initial upload in 2002. Probably these solutions are better. At least, they are better maintained:

--Fritzophrenic 17:01, March 28, 2011 (UTC)

Around Wikia's network

Random Wiki