Callout to DMD hackers

Russel Winder russel at winder.org.uk
Wed Mar 12 04:29:36 PDT 2014


On Wed, 2014-03-12 at 02:14 +0000, Brad Anderson wrote:
[…]
> You can change the file encoding but the default is codepage 1252
> for me (I assume it changes based on your locale but I don't know
> that for certain). It's definitely not UTF-16 encoded. I don't 
> recall ever seeing Windows VS source code encoded with anything 
> other than 1252/8859-1 or (rarely) UTF-8.

I would have thought UTF-8 was the only sensible encoding of Unicode for
general purposes.

Windows is the reason for UTF-16LE and UTF-16BE because Microsoft
implemented things differently to the rest of the planet, and what the
standard said. So the standard got retrofitted.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140312/2f51bc34/attachment.sig>


More information about the Digitalmars-d mailing list