Watch out for those Unicode files!

It was a little late the other night, trying to stuff my latest Silverlight 2 Article into the database and DTS was giving me absolute fits...

I could see there were some extra characters ahead of the column name in the DTS record, but wasn't sure where they came from. I opened the file in SlickEdit, and it wouldn't let me view the file as hex ... hmmm...

<pause>Then followed a series of actions that had absolutely nothing to do with what was causing the problem</pause>

I finally looked in the lower right-hand corner of SlickEdit and realized the file was Unicode... well, how did that happen, and how do I get it back? To be honest, I'm sure there's a way in SlickEdit to do so, but I was past the point of being a careful searcher by now and just copy and pasted that sucker into notepad and wrote it back out as flat ASCII. I re-opened it in SlickEdit, deleted the extra characters at the front end, and DTS'd it up.

Whew!

For reference, I foisted the problem on myself by scavenging the html file out of the VS2008 build folder for my Silverlight project. I modified it to be my article, then cut the body of it out to DTS. The html file that VS2008 produced was Unicode and the beginning of my problems... so if that matters to the way you work, watch out for it!

I've now copied a piece of that file and have it listed as a template for deploying SL2 articles and the one I created is NOT unicode :)

Stay in the 'Light!

Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | SL2 Web Articles | My Articles | My Tutorials | My Tooltips | My SL2 Articles | My SL2 ToolTips | SilverlightCream

Silverlight Cream for May 30, 2008 -- #287

Martin Mihaylov on the MultiscalImage Control, Jose Fajardo on DeepZoom, Dan Wahlin on Beginning SL2, Wilco Bauwer on Threading and Silverlight Components, Jonas Follesø on SL2 Cross Domain Policy and YouCard Demo, Dave Campbell on SL2 Lines, Paths, and Anti-aliasing.

From SilverlightCream.com:
Using the MultiscaleImage control in Silverligth2 Beta 1
Martin sent me this link this morning... it's a follow-on to his previous, this time showing how to use the image created by the composer.
The future of Deepzoom - my take!
If you haven't seen this video by Jose from Remix, I'll wait here while you go watch it... I won't even attempt to explain what all he's doing... I couldn't begin to do it justice... awesome out-of-the-box demo my friend :)
Creating Your First Silverlight 2 App
Dan Wahlin has a new video up on Silverlight.net, and gives a lead-in on his site. He also has a list of his latest Silverlight articles archived here... good stuff
Threading in Silverlight
Found a somewhat older link to Wilco Bauwer and found some good Silverlight out there. I've added him as a blogger to SilverlightCream, and this first blog post is about SL2 Threading ...
ASP.NET/Silverlight component development
Another Wilco Bauwer article, this one on Component Development. This was from just after SL2 hit. Looks like good solid hard work to me... something I'd need to print out I think :)
Using Yahoo Pipes as a Silverlight Cross Domain Proxy
I believe I've blogged about Jonas before, but I finally added him as a blogger and have a couple of his posts here. This one is using Yahoo Pipes. He has a lot of good stuff referenced on the site and finishes with an RSS feed display... all with source!
REMIX08 YouCard Demo
A second one from Jonas, and this was from REMIX08 also... he is merging Twitter with Flickr and displaying it with Silverlight2... even if you don't want to do THAT... this is seriously good stuff... and with code!
Silverlight2 Rectangles, Paths, and Line Comparison
I finally jumped into SL2 with an article... this one a do-over of an investigation that dates back to pre-MIX '07 WPF/E, and the anti-aliasing of Lines and Paths. It's still there in SL2, so at least educate yourself!

Stay in the 'Light!

Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | SL2 Web Articles | My Articles | My Tutorials | My Tooltips | My SL2 Articles | My SL2 ToolTips | SilverlightCream
«May»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567