native_code_set mix-up fixed
- From: Frank Rehberger <Frank Rehberger web de>
- To: "orbit-list gnome org" <orbit-list gnome org>
- Subject: native_code_set mix-up fixed
- Date: Sun, 20 Jun 2004 23:03:49 +0200
Michael,
fixed a bug in native-code-set handling I introduced a few weeks ago in
HEAD :(
This bug affects references to service-objects instanciated in local POA
only. The bug affects interoperability with other ORBs and might cause
(non-ORBit2) clients to reject ORBit2-IORs.
Recent changes relating to codeset handling in ORBit2-HEAD set
char-native-code-set==UTF16
wchar-native-code-set undefined.
The fix corrects this, now it sets:
char-native-code-set==UTF8
wchar-native-code-set==UTF16
Regards, Frank
--
Frank Rehberger <Frank Rehberger web de>
The Twelve Networking Truths - http://www.faqs.org/rfcs/rfc1925.html
Index: iop-profiles.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/orb-core/iop-profiles.c,v
retrieving revision 1.46
diff -u -r1.46 iop-profiles.c
--- iop-profiles.c 8 May 2004 20:43:20 -0000 1.46
+++ iop-profiles.c 20 Jun 2004 20:39:23 -0000
@@ -589,8 +589,8 @@
csets->data.ForCharData.native_code_set = IOP_PROFILES_CODE_SET_UTF8;
csets->data.ForCharData.conversion_code_sets = empty_conv_codesets;
- csets->data.ForCharData.native_code_set = IOP_PROFILES_CODE_SET_UTF16;
- csets->data.ForCharData.conversion_code_sets = empty_conv_codesets;
+ csets->data.ForWcharData.native_code_set = IOP_PROFILES_CODE_SET_UTF16;
+ csets->data.ForWcharData.conversion_code_sets = empty_conv_codesets;
mci->components = g_slist_append (mci->components, csets);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]