对于包含ASCII以外的Unicode字符的文档,解析器必须为每个字符读取和转换多字节序列。
For documents that contain Unicode characters beyond the ASCII range, the parser must read and convert multiple byte sequences for each character.
URI模板是一个字符串值,由文字字符序列和特殊的标记组成,可以将一系列输入值转换为一个URI。
A URI Template is a string value that includes a mixture of literal character sequences and specialized tokens that, when processed with a set of input values, yields a URI. For example.
有一种特别的软件叫输入法,它可以将每个键盘序列转换成一个字符或一系列字符。
A special piece of software called an input method converts each key sequence into a single character or a series of characters.
步骤(4)通过将字符串转换成字节序列(比如二进制)准备好通过流发送的请求。
Step (4) prepares the request to be sent over the stream by converting the string into an array of bytes, i.e. binary.
接下来,在联邦服务器,需要将序列化后的字符串转换回xml类型。
Next, at the federated server, you need to convert the serialized string back to the XML type.
json在这种情况下将提供帮助,因为我们可以使用json_encode把任何PHP对象序列化,使该对象转换为json协议字符串,以供ajax应用程序读取。
Json helps in this case, as we can serialize any PHP object using json_encode to turn that object into a json protocol string, ready for an Ajax application to read.
第一个阶段是将字符序列从字节顺序(字符在内存中如何存储)转换成正确的手写顺序(字符如何在纸面上显示)。
The first phase translates the sequence of characters from byte order (how the characters are stored in memory) to the proper written order (as it would appear on paper).
CharsetEncoder:这个类定义了一个引擎,这个引擎可以将16位Unicode字符序列转换为采用特定字符集的字节序列。
Java.nio.charset.CharsetEncoder: This class defines an engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.
CharsetDecoder:这个类定义了一个引擎,这个引擎可以将采用特定字符集的字节序列转换为16位Unicode字符序列。
Java.nio.charset.CharsetDecoder: This class defines an engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.
为了将lob列进行反序列发转换,并且为了再次获得该文本字符串,请使用以下代码。
To deserialize the LOB column and get to the text string again, use the following code.
清单22对最初由SamRuby提供的代码进行了修改,包含Atom文本结构或内容元素的JSON序列化,并将其转换为一个字符串。
Listing 22 is a modified version of code originally provided by Sam Ruby that takes the JSON serialization of an Atom text construct or content element and converts it back into a string.
更普适的情况下,等号右边以是任意一种序列(字符串、列表或者元组)。比如,要把一个电子邮件地址转换成一个用户名和一个域名,可以用如下代码实现。
More generally, the right side can be any kind of sequence (string, list or tuple). For example, to split an email address into a user name and a domain, you could write.
采用变换法则对时间序列进行从时域到频域的转换,再将转换后的数据按照一定的规则变换成字符序列;
This paper proposes a method by translating the series from time domain to frequency domain, then to a string sequence.
将已编码的字节序列转换为字符串或字符数组。
Converts an encoded byte sequence to a string or array of characters.
但是,如果对具有类型转换器的成员使用转义序列,则仍有可能在由XAML编写器进行解释时,该字符串会被类型转换器转换。
However, if the escape sequence is applied to a member that has a type converter, the string might undergo type conversion when it is interpreted by a XAML writer.
当编译脚本时,字符串中的每个转义序列都会转换为它所表示的字符。
When a script is compiled, each escape sequence in a string literal is converted into the characters it represents.
当编译脚本时,字符串中的每个转义序列都会转换为它所表示的字符。
When a script is compiled, each escape sequence in a string literal is converted into the characters it represents.
应用推荐