also i notice in gdata all content gets passed into this function
public static string EncodeString(string content)
{
// get the encoding
Encoding utf8Encoder = Encoding.UTF8;
Encoding utf16Encoder = Encoding.Unicode;
Byte [] bytes = utf16Encoder.GetBytes(content);
Byte [] utf8Bytes = Encoding.Convert(utf16Encoder,
utf8Encoder, bytes);
char[] utf8Chars = new
char[utf8Encoder.GetCharCount(utf8Bytes, 0, utf8Bytes.Length)];
utf8Encoder.GetChars(utf8Bytes, 0, utf8Bytes.Length,
utf8Chars, 0);
String utf8String = new String(utf8Chars);
return utf8String;
}
It seems as though the output of this function is the same as the input
??!! what does this actually accomplish? do I need to "treat" my xml
content in a similar fashion for it to work?.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---