level 2
var
str:string;
dou:double;
begin
str:='我爱中国';
move([str1],dou,8);
end;
str是按什么码存在dou中的?
ansi还是unicode?
跟系统编码有关还是跟delphi版本有关?
2015年10月31日 15点10分
1
level 2
我去试了下,在本机用delphi7,是GBK编码。而且汉字的两个字节还是倒的,
2015年10月31日 16点10分
5
你换个日文版操作系统,肯定不会是gbk编码。
2015年10月31日 17点10分