UTF-8 character encoding
Thu Jun 21 10:12:00 GMT 2018
Am 20.06.2018 um 20:09 schrieb Lee:
> I'm looking at
> and it starts off with
> Use UTF-8 character encoding.
> How do I do that and how do I check that I actually did use UTF-8
> character encoding _without_ using file?
> for whatever it's worth:
> $ file unicode.html
> unicode.html: HTML document, UTF-8 Unicode text
> $ file test.c
> test.c: C source, ASCII text
> I used vi to create both files & I'd like to understand why file says
> one is ascii & the other is utf-8
ASCII is a subset of UTF-8, so that's fine.
The file command will report ASCII as long as your text does not contain
any non-ASCII characters. If you add some (for example ÃÃÃ), it should
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin