[xmlsec] UTF8

Michiels Olivier olivier.michiels@ubizen.com
Tue, 12 Aug 2003 09:13:08 +0200


--MIMEStream=_0+42102_58885578251015_31866190769
Content-type: text/plain
Content-transfer-encoding: 7BIT

Hi,
I'm trying to sign an xml file containing utf8 characters. When I try to
parse the file I receive this error message:
reg.xml:7: error: Input is not proper UTF-8, indicate encoding !
keyname?buc_id=8047651268&cert_serialnumber=$timeStamp$&CN=
reg.xml:7: error: Bytes: 0xE8 0x6A 0x61 0x76

How can I avoid that problem ?

Thanks,
Michiels Olivier

--MIMEStream=_0+42102_58885578251015_31866190769
Content-type: text/html; charset=utf-8
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
Hi,<BR>
I'm trying to sign an xml file containing utf8 characters. When I try to parse the file I receive this error message:<BR>
reg.xml:7: error: Input is not proper UTF-8, indicate encoding !<BR>
keyname?buc_id=8047651268&amp;amp;cert_serialnumber=$timeStamp$&amp;amp;CN=<BR>
reg.xml:7: error: Bytes: 0xE8 0x6A 0x61 0x76<BR>
<BR>
How can I avoid that problem ?<BR>
<BR>
Thanks,<BR>
Michiels Olivier
</BODY>
</HTML>

--MIMEStream=_0+42102_58885578251015_31866190769--