Chilkat .NET
Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character
Encoding Conversion
Xml::QEncodeContent
Sets the node's content with 8bit data that is in a specified multibyte character encoding such as utf-8, shift-jis, big5, etc. The data is first Q-encoded and the content is set to be the Q-encoded string. For example, if called with "gb2312" for the charset, you would get a string that looks something like this: "=?gb2312?Q?=C5=B5=BB=F9?=". Character that are not 7bit are represented as "=XX" where XX is the hexidecimal value of the byte. Use the DecodeContent method to retrieve the byte data from a Q encoded string.
![]() |
Declarations | ||
|
[Visual Basic] Public Function QEncodeContent(ByVal String charset , ByVal charData() As Byte) As Boolean [C#] public bool QEncodeContent(string charset , byte[] charData); [C++] public bool QEncodeContent(String *charset , unsigned char __gc[] charData); [JScript] public function QEncodeContent(String charset , Byte[] charData) : Boolean |
![]() |
Parameters | ||
|
Copyright 2002, Chilkat Software, Inc. All Rights Reserved.