Improve handling of character sets in multipart/form-data

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19428 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-05-30 09:05:10 +00:00
parent a1e4d0770c
commit 955690403e
4 changed files with 79 additions and 20 deletions

View file

@ -60,6 +60,8 @@
#include <Foundation/Foundation.h>
#endif
#undef HAVE_LIBXML_SAX2_H
/* libxml headers */
#include <libxml/tree.h>
#include <libxml/entities.h>
@ -128,6 +130,10 @@ setupCache()
if (cacheDone == NO)
{
cacheDone = YES;
#if HAVE_LIBXML_SAX2_H
xmlDefaultSAXHandlerInit();
#endif
NSString_class = [NSString class];
usSel = @selector(stringWithUTF8String:);
usImp = [NSString_class methodForSelector: usSel];
@ -2457,7 +2463,9 @@ static NSString *endMarker = @"At end of incremental parse";
+ (void) initialize
{
if (cacheDone == NO)
setupCache();
{
setupCache();
}
}
/*