The present encoding of the file will be indicated on the status bar, and when you click on that wording, a list of encodings will appear that you can choose from. Put “show_encoding”: true in your user settings and then restart Sublime Text. That way all the opened ANSI files will be treated as UTF-8 without BOM. Try Settings -> Preferences -> New document -> Encoding -> choose UTF-8 without BOM, and check Apply to opened ANSI files. (It can represent certain other Windows code pages on other systems.) How do I change ANSI in UTF-8? It is more properly referred to as Windows-1252 on Western/U.S. ANSI encoding is a slightly generic term used to refer to the standard code page on a system, usually Windows.
0 Comments
Leave a Reply. |