Name normalization.

This commit is contained in:
2017-10-12 22:47:37 +01:00
parent f5e340412b
commit 5832c3c487
6 changed files with 7 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ namespace Claunia.Encoding
{
const string _bodyname = "atascii";
const int _codepage = 0;
const string _encodingname = "ATARI Standard Code for Information Interchange";
const string _encodingname = "Atari Standard Code for Information Interchange";
const string _headername = "atascii";
const string _webname = "";
const int _windowsCodepage = 0;

View File

@@ -36,7 +36,7 @@ namespace Claunia.Encoding
{
const string _bodyname = "atarist";
const int _codepage = 0;
const string _encodingname = "Atari ST";
const string _encodingname = "Western European (Atari ST)";
const string _headername = "atarist";
const string _webname = "";
const int _windowsCodepage = 0;

View File

@@ -62,8 +62,8 @@ namespace Claunia.Encoding
foreach(Type type in Assembly.GetExecutingAssembly().GetTypes()) {
if(type.IsSubclassOf(typeof(Encoding))) {
Encoding filter = (Encoding)type.GetConstructor(new Type[] {}).Invoke(new object[] { });
encodings.Add(new EncodingInfo(filter.CodePage, filter.BodyName, filter.EncodingName, false, type));
Encoding encoding = (Encoding)type.GetConstructor(new Type[] {}).Invoke(new object[] { });
encodings.Add(new EncodingInfo(encoding.CodePage, encoding.BodyName, encoding.EncodingName, false, type));
}
}

View File

@@ -35,7 +35,7 @@ namespace Claunia.Encoding
{
const string _bodyname = "lisa";
const int _codepage = 0;
const string _encodingname = "Apple Lisa";
const string _encodingname = "Western European (Apple Lisa)";
const string _headername = "lisa";
const string _webname = "";
const int _windowsCodepage = 10000;

View File

@@ -35,7 +35,7 @@ namespace Claunia.Encoding
{
const string _bodyname = "petscii";
const int _codepage = 0;
const string _encodingname = "PET Standard Code for Information Interchange";
const string _encodingname = "Commodore PET Standard Code for Information Interchange";
const string _headername = "petscii";
const string _webname = "";
const int _windowsCodepage = 0;

View File

@@ -35,7 +35,7 @@ namespace Claunia.Encoding
{
const string _bodyname = "spectrum";
const int _codepage = 0;
const string _encodingname = "ZX Spectrum";
const string _encodingname = "Sinclair ZX Spectrum character set";
const string _headername = "spectrum";
const string _webname = "";
const int _windowsCodepage = 0;