Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add usascii as a no-op encoding

  • Loading branch information...
commit 99bf59cb3565e3624696e9e5a17e33a52fdfb201 1 parent a81b756
@CyberShadow authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  characterencodings.d
1  characterencodings.d
@@ -66,6 +66,7 @@ string convertToUtf8(immutable(ubyte)[] data, string dataCharacterEncoding) {
return decodeImpl(data, ISO_8869_1, Windows_1252);
case "latin1":
case "iso88591":
+ case "usascii":
// Why am I putting Windows_1252 here? A lot of
// stuff in the wild is mislabeled, so this will
// do some good in the Just Works department.
Please sign in to comment.
Something went wrong with that request. Please try again.