This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 求救: 要用C++ 写个程序,将一个STRING转换成XML readable, 也就是把凡不是"A~Z", "a~z"和"1~9"的字符全部转换成HEX??, 现在没一点头绪,请大家帮忙,谢谢!
-wengq(Gary);
2004-10-7
(#1920022@0)
-
C++不会。可是已经有HTML2XML的程序了。
-remember_me_not(老兄);
2004-10-7
(#1920261@0)
-
非A~Z,a~z,1~9 字符怎么映射到HEX ,转化的规则是什么,能给个例子.
-bobo123(bobo);
2004-10-8
(#1920599@0)
-
XHTML就是XML的一个例子。GOOGLE结果:
-remember_me_not(老兄);
2004-10-8
(#1921099@0)
-
base64
-bugkiller(Driver Coding);
2004-10-8
(#1921164@0)
-
I donot know exactly what r u doing. To send binary data via xml, base64 is the choice.
-elecskunk(elecskunk);
2004-10-8
(#1921472@0)
-
一句fprintf( stream, "%x", c );就解决问题了。
-dts(独头蒜);
2004-10-8
(#1921493@0)
-
If u don't need reverse it to the original
-elecskunk(elecskunk);
2004-10-8
(#1921518@0)
-
?? strtoul( stream, null, 16 );
-taop(Bard-Tamer);
2004-10-8
(#1921533@0)