Scariping HTML - problems with non english characters - Windows Phone 7 Software Development

Hey guys
Really hope some friendly soul out there can help me.
Trying to build an app that uses DownloadStringAsync to download a HTML page. The problem is that Swedish characters (å, ä, ö) doesn't show up and just appear as a black diamond with a white questionmark in it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I guess it ahs to do with unicode or the lack of unicode but have no clue on how to fix it. I'm really new to this.
Please help, thanks in advance.
Edit: Of course I had to spell the title wrong... should be scraping

Have you tried setting the encoding to Unicode?
WebClient wc = new WebClient ();
wc.Encoding = System.Text.Encoding.UTF8;

williammel said:
Have you tried setting the encoding to Unicode?
WebClient wc = new WebClient ();
wc.Encoding = System.Text.Encoding.UTF8;
Click to expand...
Click to collapse
Thank you for your response!
Yes, I have tried it but maybe not exactly the way you suggested. But it didn't help.
This is what I get when debugging:
calendarItems = "R�sta nu\r\n"

Only other thing which you probably tried if you typed that in is
WebClient wc = new WebClient ();
wc.Encoding = System.Text.Encoding.Unicode;
You should post this on the create.msdn.com forums. Since it's run by Microsoft there's Microsoft employees and other people who are very helpful.

Try the HTML Agility pack. The latest version on codeplex has a sample WP7 library, which I found works very well. It should make your scraping easier, plus it'll probably be more flexible around encoding.
http://htmlagilitypack.codeplex.com/

Yes, this works perfectly with Unicode characters. HTML scrapping made easy with this.

Can someone post up the pre-compiled version and a short tutorial on how to use it properly?

Related

New software?

Reading around in the net I found the review of a new phone: E-TEN M600, follow the link: http://www.mobiletechreview.com/E-TEN_M600.htm. They talk about a new software called INDEX DIAL. I am curious about it; it seems a cool tool. Any information about it? Does anybody know where it can be found? Thank you for your help. Paul.
Since you still haven't received any answers let me at least try to point you in the right direction.
ETEN M600 is not a new phone. It's been around for over a year and despite looking good on paper it had a ton of problems and needed constant ROM updates. I considered buying it my self when it first came out, but now I am glad I didn't.
The app you are talking about is a feature unique to this phone (ETEN bought / wrote the app and stuck it in ROM) and is not available for other phones. (At leas I haven't heard of a 3rd party app that does this)
Hoeven, programs have been extracted from the eten ROM. You should look in the ETEN specific forum (this board is mainly about HTC manufactured devices) maybe someone extracted the index dial.
Good luck.
I ripped this one ages ago. Don't know if it's the same thing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://forum.xda-developers.com/showthread.php?t=258603&highlight=mine
V
how to create a link to this program?
YES!! I love this program: I installed it on my MDA (T-Mobile USA) and it works fine. My problem is how to create a link so that I can activate it fast. It doesn't show in the Programs, it doesn't show in the Items setting, nor in the Menus setting, nor can it be associated to any button. Any suggestion?
Thank you, Paul.

[WAD2 WVGA and VGA] Windows Illumination by EagleDig

Hi ! I present my new theme: Windows Illumination :
The English version is available (WVGA and VGA)
To download, click on the image presentation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You must have the software Wisbare adavnce desktop 2 to use this theme
Enjoy !
SWEEET!!!! Thanks man for the great theme!!!!
this is the first them which I think is worth downlaoding!!!!
copy that
Iam testing it out rt now
TEST RESULTS:
first of all kudos to u...
1. overall i liked the transparency effect and the set of icons...very vista like
2. the only -ve point is the menu and vista folder views cud have been a bit more bigger to use the HD space...rest is all too gud
Thanks All for yout comment
When I run the cab file, nothing happens. Instructions says install using your browser. dont understand what that means. any help?
that is extremely impressive..
It looks GREAT!! But will it work on Dutty's Rom V2.6XTREME?
Another beautiful theme - well done!
I think there may be a problem with the WVGA version; the curved element on the right of the page does not run the full height of the page and I suspect some notifications may be missing (email and SMS?).
Can you check and confirm? Or is it something I have done...??
can someone post a mirror here, dun even understand the language how to download
sunnyou said:
can someone post a mirror here, dun even understand the language how to download
Click to expand...
Click to collapse
If you follow the link to the site there is a union jack flag towrds the upper right that will give you an English language version (sort of!). Register, login and download.
Thanks Gustopher

[ROM][FRA] SHN-V2 ROM, for alternative interface (WAD, SPB, Point UI.. .) (Available)

[ SHN - V2 ]​​
ROM light for alternative interfaces
[ SCREENSHOTS V2 ]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---------------------------------
Download V2 [MU]​
Merci man.
je vais tester
Nobody else ?
Well it seems a realy nice ROM, but please give more description: what is the memory/storage left, why is it a special alternative interface ROM (Is Manilla totally removed ?), what is the system version number, is it based on specific kitchen ? See other ROMs release for the provided details.
As I'm French, I support localized ROM like yours, but in return, non french-speaking people cant' appreciate your work. Good luck !
Scalpos said:
Well it seems a realy nice ROM, but please give more description: what is the memory/storage left, why is it a special alternative interface ROM (Is Manilla totally removed ?), what is the system version number, is it based on specific kitchen ? See other ROMs release for the provided details.
As I'm French, I support localized ROM like yours, but in return, non french-speaking people cant' appreciate your work. Good luck !
Click to expand...
Click to collapse
+1
thank's for sharing and good luck

[Q] Facebook Chat app

Hi All
Do you guys remember this ??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a pic from the oldest bada 2.0 firmware made for Wave II
Also you can see in MainMenu_Init.ini this
#Folder29
// SevenIM
MenuID0=0
MenuType0=2
AppID0=0rq06e23py
// MSN
MenuID1=0
MenuType1=2
AppID1=760n3w3202
// Yahoo
MenuID2=0
MenuType2=2
AppID2=5zdx8bkb6w
// GTalk
MenuID3=0
MenuType3=2
AppID3=8c59h50loa
// Facebook
MenuID4=0
MenuType4=2
AppID4=96ilx337g7
Click to expand...
Click to collapse
This one is different from that one
MenuID13=0
MenuType13=2
AppID13=2h4b34zbkb
Click to expand...
Click to collapse
I am too lazy to download oldest FW .....Can anyone upload for me the app folder only ???
I just want to test it and also to know if it was based on C++ or Web App
Best Regards
Hey,
I´ve got a KK5 and a KK7.
Would this be helpful ? If yes, which file do you need ?
best regards
Sorry
I guess that app didn't appear at all in any firmware ever
I looked in oldest bada 2.0 firmware which is KD6 and didn't find it
If anyone has it please upload its folder which should be named "96ilx337g7"
Best Regards
2h4b34zbkb Version is Based on C++
hmmmmmmmmmm
But very buggy and lags !!!!!
I wonder where this old Facebook chat app go !!
Maybe a better client can be made for free ?!!!!!!
Best Regards
Bro i have the old firmwarwe pm me on gtalk
www.tabfirmware.com

[APP] Global Converter (Convert units)

Hello. This is my first app for the Windows 8.1 platform. It is a simple converter that converts between different units. It is designed for optimal use with tablets and generally touch screens.
Your feedback is accepted. Thank you!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Beautiful
This is just beautiful, all I'd ask is for the Data section to have Megabits as well
rohail6 said:
This is just beautiful, all I'd ask is for the Data section to have Megabits as well
Click to expand...
Click to collapse
Thank you! Yes of course i will include megabits (and generally bits instead of only bytes). Also i will include numerical system conversion, conversions from and to decimal,hexadecimal,octal and binary The update will be probably posted at the store at Monday. I will update this post when it's available.
I any of the forum members have sugestions, please notify me and i'll put it in the app.
Thank you again!
hi, i know this has nothing to do with the app but is there any chance you could share that purple wallpaper? I absolutely love it and i've been trying to find one similar all day but to no avail. I'd really appreciate it if you could
The update 1.1.0.3 is available. It should download automatically in the next few hours. You may also do it maually from Store's settings.
Changelog:
-Added conversion between numeral systems
-Enabled number input right after selecting the "from" unit
-Added more units in "Data" and "Speed"
-New middle-size icon
-Various bugfixes
All of the above are changes that happened after user feedback. I appreciate it a lot. If you have any other suggestions, please let me know
I know that this app is designed for optimal use with tablets, but there is a little bug when you use two windows with windows 8.1
I hope you fix the bug
Great application! Thank you wery much!

Categories

Resources