ANSI seems limited compared to say UTF-8, yet it’s the default file encoding in Notepad++, so I was wondering.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, if you can encode everything in ANSI (whatever ANSI happens to mean on your computer; it’s a horribly ambiguous term), then it may be shorter in UTF-8. For non-ASCII characters, ANSI encodings can still encode each character in a single byte, whereas they’ll take more bytes in UTF-8.
It’s a tiny advantage though, and the disadvantages are significant IMO – I would definitely go with UTF-8.