Windows Phone 8 does not support UTF-7. Is there any way to decode UTF-7 like in the following .NET code?
Encoding.UTF7.GetString(bytes);
Windows Phone 8 does not support UTF-7. Is there any way to decode UTF-7 like in the following .NET code?
Encoding.UTF7.GetString(bytes);
If you're targeting Windows Phone 8.1, you can use the WinRT method
Encoding.GetEncoding("utf-7").GetString(...);
The complete list of encoding identifiers that can be passed to this method is listed on MSDN (scroll down to the Remarks section).
When using Windows Phone 8.0 (Phone Silverlight), as far as I know this is not possible. The System.Text.Encoding MSDN page lists only UTF-8 and UTF-16 as supported encodings.