使用filename.write(....)有问题吗? [英] problem with using filename.write(....)?
本文介绍了使用filename.write(....)有问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用myfile.write在文件中保存10000条记录,但信息没有正确保存.这是myfile:
i want to save 10000 record in a file using myfile.write but information didnt save correctly . this is myfile:
[code]
جج^ى_±ؤ/ ¯–
p p îى_± Pû7 0 ˆ/ ے/ گ ’=|± ج/ ك" ط/ "ٌv Pے/ )´+w P›َ u P ن/ ےےےےUص''w3 $ 0ے/ ü³+wè P è P ü=L×>
îےîے ¨ p p p 0
@ 0 @ î
ً1 ً1 مـ5ك>
¨xH ےےےے ط1 ط1 p
[/code]
有人可以帮忙吗?
can anyone help?
推荐答案
? 0ے/ü³+wè?? P? è?? P? ?ü= L×> p p? p p 0 @ 0 @î ً?1 ً?1 مـ5ك> x Hےےےےط1 1 1 p? ? ? [/code]
0ے/ ü³+wè P è P ü=L×> îےîے ¨ p p p 0 @ 0 @ î ً1 ً1 مـ5ك> ¨xH ےےےے ط1 ط1 p [/code]
谁能帮忙?
can anyone help?
您正在编写一种结构(myclass
的数据),该结构从外观上包含各种整数值,并希望将其读取为字符.这永远都行不通;您需要将其读回myclass
对象并根据需要对值进行解码.
You are writing a structure (the data ofmyclass
) which contains various integer values by the look of it and expecting to read it as characters. This will never work; you need to read it back into amyclass
object and decode the values as appropriate.
使用XML存储Unicode数据.还使用CData将其放入节点.
Use XML to store Unicode data. also use CData to to put it into a node.
这篇关于使用filename.write(....)有问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文