mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Add a couple more charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23767 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
62d6638993
commit
a03a91b1ec
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-10-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSMime.m: Add a couple more charset mappings.
|
||||
|
||||
2006-10-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSHTTPURLHandle.m:
|
||||
|
|
|
@ -3658,6 +3658,12 @@ static NSCharacterSet *tokenSet = nil;
|
|||
NSMapInsert(charsets, (void*)@"csisolatin1",
|
||||
(void*)NSISOLatin1StringEncoding);
|
||||
|
||||
// A couple of telecoms charsets
|
||||
NSMapInsert(charsets, (void*)@"ia5",
|
||||
(void*)NSASCIIStringEncoding);
|
||||
NSMapInsert(charsets, (void*)@"gsm0338",
|
||||
(void*)NSGSM0338StringEncoding);
|
||||
|
||||
NSMapInsert(charsets, (void*)@"iso-8859-2",
|
||||
(void*)NSISOLatin2StringEncoding);
|
||||
NSMapInsert(charsets, (void*)@"iso-8859-3",
|
||||
|
@ -3767,6 +3773,8 @@ static NSCharacterSet *tokenSet = nil;
|
|||
(void*)@"utf-7");
|
||||
NSMapInsert(encodings, (void*)NSUTF8StringEncoding,
|
||||
(void*)@"utf-8");
|
||||
NSMapInsert(charsets, (void*)NSGSM0338StringEncoding,
|
||||
(void*)@"gsm0338");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue