Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Thanks Zac .C# its working fine. Any idea of using HtmlDecode in FLEX Thanks Rejeev On Thu, Jan 28, 2010 at 11:01 AM, Zac Bowling zbowl...@gmail.com wrote: Also: http://weblogs.sqlteam.com/mladenp/archive/2008/10/21/Different-ways-how-to-escape-an-XML-string-in-C.aspx Zac Bowling On Wed, Jan 27, 2010 at 9:28 PM, Zac Bowling zbowl...@gmail.com wrote: Entity codes. Just decode them... using System.Web; ... string decoded_stuff = HttpUtility.HtmlDecode(encoded_stuff); There is a way to do this with System.Xml but whatever. Zac Bowling On Wed, Jan 27, 2010 at 9:10 PM, Rejeev Thomas rejeevtho...@gmail.comwrote: Please help friends! Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.comwrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Please help friends! Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Entity codes. Just decode them... using System.Web; ... string decoded_stuff = HttpUtility.HtmlDecode(encoded_stuff); There is a way to do this with System.Xml but whatever. Zac Bowling On Wed, Jan 27, 2010 at 9:10 PM, Rejeev Thomas rejeevtho...@gmail.comwrote: Please help friends! Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Also: http://weblogs.sqlteam.com/mladenp/archive/2008/10/21/Different-ways-how-to-escape-an-XML-string-in-C.aspx Zac Bowling On Wed, Jan 27, 2010 at 9:28 PM, Zac Bowling zbowl...@gmail.com wrote: Entity codes. Just decode them... using System.Web; ... string decoded_stuff = HttpUtility.HtmlDecode(encoded_stuff); There is a way to do this with System.Xml but whatever. Zac Bowling On Wed, Jan 27, 2010 at 9:10 PM, Rejeev Thomas rejeevtho...@gmail.comwrote: Please help friends! Thanks Ryan! I am taking an XML response from * http://twitter.com/statuses/friends_timeline.xml* and it happens when I post a Tweet in my home language and trying to read it ,follwoing are some of the Text. *?xml version=1.0 encoding=UTF-8? statuses type=array status created_atWed Jan 27 04:19:36 + 2010/created_at id8265961626/id text#3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3393;#3359;#3398; #3334;#3382;#3353;#3405;#3349; #3370;#3376;#3391;#3351;#3363;#3391;#3349;#3405;#3349;#3363;#3374;#3398;#3368;#3405;#3368;#3405; #3347;#3384;#3392;#3384;#3405; #3372;#3391;#3383;#3370;#3405;#3370;#3405;: #3374;#3398;#3378;#3405;#8205;#3372;#3363;#3405;#8205;: #3347;#3384;#3405;#8204;#3359;#3405;#3376;#3399;#3378;#3391;#3375;#3375;#3391;#3378;#3405;#8205; #3335;#3368;#3405;#3364;#3405;#3375;#3349;#3405;#3349;#3390;#3376;#3405;#8205;#3349;#3405;#3349;#3398;#3364;#3391;#3376;#3398; #3368;#3359;#3349;#3405;#3349;#3393;#3368;#3405;#3368; #3334;.../text* The above are the junk characters responded , also made convert to UTF8 but its not converting. please help. Thanks, Rejeev. On Mon, Jan 25, 2010 at 9:14 PM, ryan alford ryanalford...@gmail.comwrote: Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
[twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
Can you paste an example of the bad characters as .Net shows them, and what they should really be? Ryan On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev
Re: [twitter-dev] Not able to read unicode from Twitter Response XML in C#.net
I think you want to make sure you're in UTF8: http://refact.blogspot.com/2007/04/xml-encoding-to-utf8.html ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Mon, Jan 25, 2010 at 5:36 AM, Rejeev rejeevtho...@gmail.com wrote: Hi all, My Twitter response XML contains some unicode characters , I am not able to read that in C#.net. Its showing junk characters. Please help me to read that in proper text. Thanks, Rejeev