+2004-12-21 Helge Hess <helge.hess@opengroupware.org>
+
+ * WOMessage.m: added 'WOMessageUseUTF8' bool default to enable UTF-8
+ as the default message encoding (v4.5.104)
+
2004-12-19 Marcus Mueller <znek@mulle-kybernetik.com>
* v4.5.103
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#ifndef __NGObjWeb_DynElem_WOGenericElement_H__
#define __NGObjWeb_DynElem_WOGenericElement_H__
# version file
-SUBMINOR_VERSION:=103
+SUBMINOR_VERSION:=104
# v4.5.91 requires libNGExtensions v4.5.134
# v4.5.84 requires libNGExtensions v4.5.127
printProfile = [ud boolForKey:@"WOProfileResponse"];
+ if ([ud boolForKey:@"WOMessageUseUTF8"]) {
+ defaultEncoding = NSUTF8StringEncoding;
+ }
+ else {
#ifdef __APPLE__
- //#warning default encoding is ISO Latin 1 ...
- defaultEncoding = NSISOLatin1StringEncoding;
+ //#warning default encoding is ISO Latin 1 ...
+ // TODO: why are we doing this?
+ defaultEncoding = NSISOLatin1StringEncoding;
#else
- defaultEncoding = [NSStringClass defaultCStringEncoding];
+ defaultEncoding = [NSStringClass defaultCStringEncoding];
#endif
+ }
}
static inline void _ensureBody(WOMessage *self) {