Hi,
Problem:
How to encode non-ascii characters in URI that is used in reference?
Description:
I create detached signature. Reference is pointing to some file on
disk. This file name contains nonascii characters.
According to w3c XML Base recommendation
(http://www.w3.org/TR/xmlbase/#escaping) this characters should be utf8
converted and 'escaped' (using %). So, before calling createReference I
convert reference (utf8 and escape).
Unfortunatelly, cleanURIEscapes from xsecdomutils.cpp (which is called
by calculateHash() in sign()) does not convert this characters from utf8
back to 'original' code. (it simply concatenat codes - lines 653 and
654)?
Is it a bug or am I complicating it too much :)). Maybe I should not
convert nonascii characters using utf8?
Looking for help,
andrzeJ