我用xml编写了以下代码:
var invalidLastNameMessage="We're sorry, but that last name doesn't match our records.";
当我检查IOS设备(iPod/iPhone)时,它应该是这样的:
We're sorry, but that last name doesn't match our records.
但它显示如下:
We're sorry, but that last name doesn't match our records.
谁能解释为什么会这样?
如果它自动转义,我不会感到惊讶。好像逃脱了
We're
自
We'apos;re
您是否尝试过只是给它一个非转义值?