mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-04-23 15:33:43 +00:00
use [GSMimeDocument encodingFromCharset:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
42c4a4c771
commit
c5b731b3ca
2 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,8 @@
|
|||
* GSWeb/GSWBundle.m
|
||||
use [GSMimeDocument encodingFromCharset:encodingObject]
|
||||
not + encodingNamed (which we trashed above)
|
||||
* GSWeb/NSDictionary+HTML.m
|
||||
use [GSMimeDocument encodingFromCharset:]
|
||||
|
||||
2010-06-17 David Wetzel <dave@turbocat.de>
|
||||
* GSWAdaptors/Apache2/mod_gsw.c
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
RCS_ID("$Id: GSWDynamicGroup.m,v 1.17 2004/12/31 14:33:16 mguesdon Exp $")
|
||||
|
||||
#include "GSWeb.h"
|
||||
#include <GNUstepBase/GSMime.h>
|
||||
|
||||
|
||||
//====================================================================
|
||||
|
@ -93,7 +94,8 @@ static NSMutableArray* _encodeAsCGIFormValuesInDictionaryUsingEncoding(NSDiction
|
|||
NSStringEncoding encoding = NSUTF8StringEncoding;
|
||||
|
||||
if (encodingStr) {
|
||||
encoding =[NSString encodingNamed:encodingStr];
|
||||
|
||||
encoding = [GSMimeDocument encodingFromCharset:encodingStr];
|
||||
}
|
||||
|
||||
stringArray = _encodeAsCGIFormValuesInDictionaryUsingEncoding(self, encoding);
|
||||
|
|
Loading…
Reference in a new issue