<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I'm not a Klingon (&lt;span style="font-family:pIqaD,code2000;"&gt; &lt;/span&gt;)</title><link>http://blogs.msdn.com/b/shawnste/</link><description>Shawn Steele&amp;#39;s thoughts about Windows and .Net Framework globalization APIs</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>pIqaD Font for Bing's Klingon Translator</title><link>http://blogs.msdn.com/b/shawnste/archive/2013/05/20/piqad-font-for-bing-s-klingon-translator.aspx</link><pubDate>Mon, 20 May 2013 18:10:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10420093</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10420093</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2013/05/20/piqad-font-for-bing-s-klingon-translator.aspx#comments</comments><description>&lt;p&gt;People have asked me where to get a pIqaD font to use with Bing's Klingon Translator &lt;a href="http://www.bing.com/translator/?from=en&amp;amp;to=tlh-qon&amp;amp;text=Hello%20Earth,%20I%20made%20the%20font"&gt;http://www.bing.com/translator/?from=en&amp;amp;to=tlh-qon&amp;amp;text=Hello%20Earth,%20I%20made%20the%20font&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That's actually a font I made.&amp;nbsp; (I'm not a font designer, so it has some rough spots, but it seems to work for most purposes).&lt;/p&gt;
&lt;p&gt;The pIqaD font is licensed under the Microsoft Public License (MS-PL).&lt;/p&gt;
&lt;p&gt;I've attached a zip with an updated version of the font.&amp;nbsp; Both a ttf font to install locally, and a woff file if you want to embed it in a web site.&amp;nbsp; It's called "pIqaD", so you'll have to pick that to use it in Word or whatever.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10420093" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-42-00-93/pIqaD-Font.zip" length="12876" type="application/zip" /><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Custom+Cultures+_2F00_+Locales+_2F00_+CultureInfo/">Custom Cultures / Locales / CultureInfo</category><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Klingon/">Klingon</category></item><item><title>Bing Translator, Klingon High Council, and Klingon Language Institute announce support for Klingon as a Bing Translator Option!</title><link>http://blogs.msdn.com/b/shawnste/archive/2013/05/15/bing-translator-klingon-high-council-and-klingon-language-institute-announce-support-for-klingon-as-a-bing-translator-option.aspx</link><pubDate>Wed, 15 May 2013 16:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10418528</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10418528</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2013/05/15/bing-translator-klingon-high-council-and-klingon-language-institute-announce-support-for-klingon-as-a-bing-translator-option.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;The &lt;a href="http://blogs.msdn.com/b/translation"&gt;Bing Translator&lt;/a&gt; folks have announced&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/translation/archive/2013/05/14/announcing-klingon-for-bing-translator.aspx"&gt;support for Klingon&lt;/a&gt;&amp;nbsp;as a translator option.&amp;nbsp;&amp;nbsp;&amp;nbsp;This &lt;a href="http://blogs.msdn.com/b/translation/p/klingon.aspx"&gt;was also proclaimed&lt;/a&gt;&amp;nbsp;by the Klingon High Council.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;I've blogged about&amp;nbsp;making a &lt;a href="http://blogs.msdn.com/b/shawnste/archive/2006/02/17/klingon-in-piqad-windows-vista-custom-locale.aspx"&gt;Windows Klingon Custom Locale&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/shawnste/archive/2012/07/11/klingon-win8-lock-screen-might-sell-qurgh-on-win8-after-all.aspx"&gt;Klingon font fallback&lt;/a&gt; for the Windows 8 lock screen,&amp;nbsp;and&amp;nbsp;now you can translate all those Klingon web&amp;nbsp;pages too!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;You'll never guess who gave them the font ;-)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;-Shawn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10418528" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Custom+Cultures+_2F00_+Locales+_2F00_+CultureInfo/">Custom Cultures / Locales / CultureInfo</category><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Klingon/">Klingon</category></item><item><title>Windows 8 Media Center and my Clock</title><link>http://blogs.msdn.com/b/shawnste/archive/2013/04/22/windows-8-media-center-and-my-clock.aspx</link><pubDate>Mon, 22 Apr 2013 20:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10411289</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10411289</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2013/04/22/windows-8-media-center-and-my-clock.aspx#comments</comments><description>&lt;p&gt;Something strange happened on my Windows 8 Media Center computer.&amp;nbsp; I didn&amp;rsquo;t really realize it because the computer&amp;rsquo;s clock is &amp;ldquo;always right&amp;rdquo;, right?&amp;nbsp; But I slowly&amp;nbsp;started missing more and more of the beginning of my recorded TV shows.&amp;nbsp; Then, after several months,&amp;nbsp;I&amp;nbsp;realized&amp;nbsp;that the clock on my computer was drifting.&lt;/p&gt;
&lt;p&gt;That seemed weird. After all, it&amp;rsquo;s supposed to synchronize itself to the Internet Time service, but for some reason that wasn&amp;rsquo;t happening.&amp;nbsp; After poking around a bit, I discovered that, in Scheduled Tasks (Search for Schedule Tasks in settings, or Windows + R, and type &amp;ldquo;mmc.exe taskschd.msc&amp;rdquo;), the time synchronization task was running in the wrong user account.&lt;/p&gt;
&lt;p&gt;To fix it, I changed the tasks in Microsoft-&amp;gt;Windows-&amp;gt;Time Synchronization to use the LOCAL SERVICE account.&amp;nbsp; (Right click the task and pick properties).&amp;nbsp; No guarantees, and I&amp;rsquo;m not responsible if you break anything, but if your Media Center computer doesn&amp;rsquo;t seem to be able to keep accurate time, you might want to check and see.&amp;nbsp; As I mentioned before, I'm not in the Media Center team, and I'm not quite sure why it's configured this way.&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10411289" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Media+Center/">Media Center</category></item><item><title>Slowing down searchfilterhost.exe on my Media Center box when Xbox 360 Extender is attached</title><link>http://blogs.msdn.com/b/shawnste/archive/2013/04/15/slowing-down-searchfilterhost-exe-on-my-media-center-box-when-xbox-360-extender-is-attached.aspx</link><pubDate>Tue, 16 Apr 2013 01:42:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10411287</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10411287</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2013/04/15/slowing-down-searchfilterhost-exe-on-my-media-center-box-when-xbox-360-extender-is-attached.aspx#comments</comments><description>&lt;p&gt;I noticed an oddity with Media Center Extenders that didn&amp;rsquo;t work very well with my system, and was causing my computer&amp;rsquo;s SearchFilterHost.exe to unnecessarily re-index a bunch of stuff in my media libraries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not on the Media Center team, but I poked around and found out some stuff.&lt;/p&gt;
&lt;p&gt;Whenever you connect an extender, there&amp;rsquo;s a scheduled task (mcxtask.exe) that fires and makes sure that all of the Media Center libraries have access permissions for that extender.&amp;nbsp; That&amp;rsquo;s important if your libraries change, but for me it&amp;rsquo;s not that important, all of my libraries inherit their permissions and I don&amp;rsquo;t change the root folders that much.&lt;/p&gt;
&lt;p&gt;The Windows Search Indexer notices when someone&amp;rsquo;s changed the permission for a file, so that it can be accurately indexed.&amp;nbsp; So when the XBox 360 Media Center Extender connects, it &amp;ldquo;fixes&amp;rdquo; all of my permissions, to the same thing they already are, and then the Indexer re-indexes all of that stuff.&amp;nbsp; With 100,000 photos, that can take a while and unnecessarily bogs down my machine.&lt;/p&gt;
&lt;p&gt;So I looked in scheduled tasks (Search for Schedule Tasks in settings, or Windows + R, and type &amp;ldquo;mmc.exe taskschd.msc&amp;rdquo;), and found some entries under Microsoft-&amp;gt;Windows-&amp;gt;Media Center-&amp;gt;Extender, one for each extender.&amp;nbsp; And then I disabled those tasks (right click -&amp;gt; disable).&amp;nbsp; Don&amp;rsquo;t do this if you aren&amp;rsquo;t comfortable with what might happen, no guarantees that it&amp;rsquo;ll work for you!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now when I log on an extender, the task won&amp;rsquo;t run.&amp;nbsp; The disadvantage is that if move my media libraries around, I might have to turn the task back on long enough to run once, or add permissions manually for the new folder, but it saves my machine a lot of unnecessary work.&amp;nbsp; My symptoms were the SearchFilterHost.exe process reading all of my photos, music and videos libraries every time I connected an xbox 360 extender.&lt;/p&gt;
&lt;p&gt;If I add a new extender, Media Center will create a new task, so, after it finishes running once, I&amp;rsquo;ll have to go back to scheduled tasks and disable it.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re curious about the permissions themselves, you can look at the security tab for a folder&amp;rsquo;s properties.&amp;nbsp; The Media Center Extenders are account names with a long number and then something like (MachineName\Mcx1-MachineName).&amp;nbsp; Again, no guarantees if you muck with the permissions and break something!&lt;/p&gt;
&lt;p&gt;Anyway, hope this helps other people if you&amp;rsquo;re having trouble with your Media Center computer over-indexing your media files.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Shawn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10411287" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Media+Center/">Media Center</category></item><item><title>Converting text file code pages</title><link>http://blogs.msdn.com/b/shawnste/archive/2013/01/24/converting-text-file-code-pages.aspx</link><pubDate>Thu, 24 Jan 2013 19:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10388042</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10388042</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2013/01/24/converting-text-file-code-pages.aspx#comments</comments><description>&lt;p&gt;I've said "use Unicode" a lot, but sometimes there are programs that aren't doing what you'd expect, and outputting stuff in a different code page.&amp;nbsp; Additionally, you might sometimes encounter a text file that was created using the system code page of a different machine.&amp;nbsp; (Like if someone emailed me a txt file from a Russian computer, I wouldn't necessarily be able to make sense of it at first).&lt;/p&gt;
&lt;p&gt;So, if you happen to have a text file in one encoding that you need to be able to read, you can write a little program to convert it.&amp;nbsp; Or, if you find this blog post, you could even copy my little program to do that:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;using System;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt; class Convert&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;static void Main(string[] args)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (args.Length != 3)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine("Usage: convert.exe infile.txt outfile.txt incodepage");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine("&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eg: convert data.1252.txt data.utf8.txt 1252");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine("&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or: convert data.1252.txt data.utf8.txt windows-1252");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console.WriteLine("&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (output is always UTF-8)");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int codepage = 0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Encoding enc;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (int.TryParse(args[2], out codepage))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;enc = Encoding.GetEncoding(codepage);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;enc = Encoding.GetEncoding(args[2]);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StreamReader reader = new StreamReader(args[0], enc);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamWriter writer = new StreamWriter(args[1], false, Encoding.UTF8);&lt;br /&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String str;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while ((str = reader.ReadLine()) != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;writer.WriteLine(str);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;writer.Close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reader.Close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;I've stuck the source and a compiled version in a &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3482.convert.zip"&gt;convert.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10388042" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Unicode+and+Code+Pages_2F00_Encodings/">Unicode and Code Pages/Encodings</category><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/System-Text/">System.Text</category></item><item><title>Language packs and Windows RT (like microsoft surface or another Windows RT device) upgrades.</title><link>http://blogs.msdn.com/b/shawnste/archive/2012/11/08/language-packs-and-windows-rt-like-microsoft-surface-or-another-windows-rt-device-upgrades.aspx</link><pubDate>Thu, 08 Nov 2012 16:07:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10366947</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10366947</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2012/11/08/language-packs-and-windows-rt-like-microsoft-surface-or-another-windows-rt-device-upgrades.aspx#comments</comments><description>&lt;p&gt;My first blog post from a surface!&lt;/p&gt;
&lt;p&gt;Apparently on Windows RT itʻs possible for Windows Update to check for language packs and office updates (which come through windows update on Windows RT machines) to get out of sync.&amp;nbsp; So if you have a German or Russian or French or Spanish or other language Windows UI set through the Language Profile and yet your office is stuck or switched to English, you might have slipped through the cracks.&lt;/p&gt;
&lt;p&gt;Iʻm told the machine will check when idle for a bit after the next reboot, but the catch with that is that Windows likes to go to connected standby so that it can keep doing things like mail reminders and stuff, and so normally it rarely reboots.&lt;/p&gt;
&lt;p&gt;Fortunately the fix should be pretty easy: reboot and then wait a couple hours.&lt;/p&gt;
&lt;p&gt;In general, to make sure Windows is running in your language, make sure youʻve set your language profile correctly.&amp;nbsp; Open the lanugage profile by swiping from the right to get charms, picking the settings charm, picking pc settings, and then selecting language preferences from the general section.&amp;nbsp; Add your language to the list if it isnʻt already there, and then move it up &amp;amp; down the list to the right place (like top for your preferred language).&lt;/p&gt;
&lt;p&gt;For windows with a language pack, itʻll say "windows display language: available" (or installed) next to that language.&amp;nbsp; Select options to install the language.&lt;/p&gt;
&lt;p&gt;Even if we donʻt provide a language pack, itʻs a good idea to put your preferred language at the top of the list, because then applications that might know your language may be able to provide you the appropriate language resources within that application.&amp;nbsp; For example, a Hawaiian speaker may choose Hawaiian as their first language and English as their second language.&amp;nbsp; Windows (and Office) would use English for the user interface, but Hawaiian could be available in some applications.&amp;nbsp; The language profile is powerful, letting you express many language preferences.&amp;nbsp; The most common languages are in the dialog, but others can be found in the add search box, by name or ISO code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10366947" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Custom+Cultures+_2F00_+Locales+_2F00_+CultureInfo/">Custom Cultures / Locales / CultureInfo</category></item><item><title>Colorizing a Modern Win8 JavaScript AppBar and AppBarCommands</title><link>http://blogs.msdn.com/b/shawnste/archive/2012/07/17/colorizing-a-modern-win8-javascript-appbar-and-appbarcommands.aspx</link><pubDate>Wed, 18 Jul 2012 06:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10330984</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10330984</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2012/07/17/colorizing-a-modern-win8-javascript-appbar-and-appbarcommands.aspx#comments</comments><description>&lt;p&gt;[Fixed a couple links, sorry about that]&lt;/p&gt;
&lt;p&gt;Lots of people are happy with the default styles of the&amp;nbsp;WinJS.UI.AppBar and WinJS.UI.AppBarCommands, but what if you want to "colorize" them yourself?&amp;nbsp; In a previous post I talked about &lt;a title="Sprites for AppBarCommands" href="http://blogs.msdn.com/b/shawnste/archive/2012/06/16/custom-appbar-sprite-icons-for-your-windows-8-metro-style-html-app.aspx"&gt;using sprites for your AppBarCommands&lt;/a&gt;, but that is a bit heavy if you already have an icon you need, and doesn't quite cover colorizing any appbarcommand label.&lt;/p&gt;
&lt;p&gt;So I &lt;a title="Colorized AppBarCommand Project" href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3113.CustomAppBarColor.zip"&gt;made a little project&lt;/a&gt; that doesn't really do much.&amp;nbsp; It&amp;nbsp;just has a JavaScript AppBar and some CSS to colorize the AppBar and the commands.&amp;nbsp; I&amp;nbsp;included&amp;nbsp;normal, selected and disabled states.&amp;nbsp; Additionally there's a "normal" button for comparison.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/8540.ColorAppBarExample.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/8540.ColorAppBarExample.png" border="0" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm using two basic colors:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgb(0, 0, 64) provides a dark blue color for the appbar, and&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgb(255, 204, 204) provides a light pink contrast color for the commands.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;From those we derive 2 more colors for the hover states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba(255, 205, 205, .13), mostly transparent for rest state when hovered, and&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba(255, 205, 205, .87), partially transparent for selected state hover, which is&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgb(222, 178, 186), when rgba(255, 205, 205, .87) is applied on an rgb(0, 0, 65) appbar&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additionally, we need one more color for the disabled state to dim the command:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgba(255, 205, 205, .4), fairly transparent for disabled, which is like&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rgb(102, 82, 120) when applied to an rgb(0, 0, 64) appbar&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additionally, the appbar commands have lots of interesting states with hover, pressed states,&amp;nbsp;etc.&amp;nbsp; The comments in the CSS file are intended to help people understand the different pseudo selectors and classes that we use.&amp;nbsp; They could be used for other things than just colorizing, either other effects for the various states or whatever your app needs.&lt;/p&gt;
&lt;h1&gt;HTML Sample AppBar&lt;/h1&gt;
&lt;p&gt;The default.html file declares the appbar and the appbarcommands.&amp;nbsp; There's also a tiny bit of JS to make the appbar show when the app starts.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&amp;lt;&lt;span style="color: #993300;"&gt;div&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;id&lt;/span&gt;="appbar" &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBar" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{sticky:true}"&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;span style="color: #993300;"&gt;button&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBarCommand" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{&lt;span style="background-color: #ffff00;"&gt;extraClass:'colorbutton'&lt;/span&gt;, icon:'addfriend', label:'Pink', section:'selection', type:'button'}"&amp;gt;&amp;lt;/&lt;span style="color: #993300;"&gt;button&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;span style="color: #993300;"&gt;hr&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBarCommand" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{&lt;span style="background-color: #ffff00;"&gt;extraClass:'colorbutton'&lt;/span&gt;, type:'separator', section:'selection'}"&amp;gt;&amp;lt;/&lt;span style="color: #993300;"&gt;hr&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;span style="color: #993300;"&gt;button&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBarCommand" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{&lt;span style="background-color: #ffff00;"&gt;extraClass:'colorbutton'&lt;/span&gt;, icon:'hangup', label:'Selected', section:'selection', selected:true, type:'toggle'}"&amp;gt;&amp;lt;/&lt;span style="color: #993300;"&gt;button&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;span style="color: #993300;"&gt;button&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBarCommand" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{icon:'world', id:'', label:'normal', onclick:null, section:'global', type:'toggle'}"&amp;gt;&amp;lt;/&lt;span style="color: #993300;"&gt;button&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;span style="color: #993300;"&gt;button&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBarCommand" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{disabled:true, &lt;span style="background-color: #ffff00;"&gt;extraClass:'colorbutton'&lt;/span&gt;, icon:'camera', label:'Disabled', type:'toggle'}"&amp;gt;&amp;lt;/&lt;span style="color: #993300;"&gt;button&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;&lt;span style="color: #993300;"&gt;button&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;data-win-control&lt;/span&gt;="WinJS.UI.AppBarCommand" &lt;span style="color: #ff0000;"&gt;data-win-options&lt;/span&gt;="{disabled:true, selected:true, &lt;span style="background-color: #ffff00;"&gt;extraClass:'colorbutton'&lt;/span&gt;, icon:'addfriend', label:'Disabled', type:'toggle'}"&amp;gt;&amp;lt;/&lt;span style="color: #993300;"&gt;button&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span style="color: #993300;"&gt;div&lt;/span&gt;&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The interesting part of the HTML is the "extraClass" property, which will tag each of our commands with a "colorbutton" class.&lt;/p&gt;
&lt;p&gt;The only other file I changed from the project template is the default.css file.&amp;nbsp; This CSS does several things for us:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Making the AppBar Blue" href="#AppBar"&gt;Makes the appbar blue&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Coloring the Buttons Pink" href="#PinkButton"&gt;Makes the commands pink&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Colorizing Toggles" href="#Toggles"&gt;Optionally&amp;nbsp;makes selected toggles pink&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Disabled Commands" href="#Disabled"&gt;Optionally makes disabled commands pink&lt;/a&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Additional Disabled Toggle CSS" href="#DisabledToggles"&gt;Including disabled selected toggles if necessary&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a title="Separators" href="#Separator"&gt;Optionally colors the AppBarCommand separator&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;&amp;nbsp;&lt;a name="AppBar"&gt;&lt;/a&gt;Making the AppBar Blue&lt;/h1&gt;
&lt;p&gt;I probably should've added a "blue-appbar" class or something, but I just changed all appbar styles:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;.win-appbar&lt;/span&gt; {&lt;br /&gt;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: rgb(0, 0, 64);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;That&amp;nbsp;certainly makes the appbar blue, and if your appbar is "dark" in a ui-dark.css app, or "light" in a ui-light.css app, you might be satisfied with this result.&amp;nbsp; However the icons on the appbar are really supposed match the&amp;nbsp;appbar background color&amp;nbsp;when the button is pressed or a toggle is selected.&amp;nbsp; I cover the coloring of the commands or toggles in the various sections further on, but in case that's all you want, here it is.&amp;nbsp; (If you color the commands as well, you'll see this block later; only add it once to your project).&lt;/p&gt;
&lt;p&gt;When pressed the "disc" part of the button matches the pink ring color and needs a darker icon that matches the appbar.&amp;nbsp; Mouse/touch and keyboard have different active pseudo-selectors:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:hover:active win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:-ms-keyboard-active .win-commandimage&lt;/span&gt; {&lt;br /&gt;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(0, 0, 64);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Similarly, when a toggle is selected, it also needs a darker icon to show up on the light pink disc:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;span style="color: #993300;"&gt;&lt;code&gt;&lt;code&gt;button.colorbutton[aria-checked=true] .win-commandimage,&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;code&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:active .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:hover .win-commandimage&lt;/span&gt; {&lt;br /&gt;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(0, 0, 64);&lt;br /&gt;}&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;&lt;a name="PinkButton"&gt;&lt;/a&gt;Coloring the Commands Pink&lt;/h1&gt;
&lt;p&gt;Both because I wanted to contrast the "normal" color command on the blue appbar with our custom pink colors, and because your app may have different modes, I tagged our commands with "colorbutton" in their "extraClass" property.&amp;nbsp; That turns into a CSS class we can use to easily attach to our buttons, such as when declaring the default "pink" color for the command, which shows up in the label and icon.&amp;nbsp; The source has more detailed comments:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;.colorbutton,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;.colorbutton .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:hover:active,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:-ms-keyboard-active,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:active&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In addition, the command's "ring" needs to be pink with a transparent "disc":&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;.colorbutton .win-commandring,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;.colorbutton:active .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: transparent;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;That covers the basic color of the appbar command, but there are some other colors needed when pressed.&amp;nbsp; When pressed, not only is the ring pink, but the disc needs to be pink as well, and with a pink disc, we'll need to darken the icon image to the appbar color or&amp;nbsp;the pink icon will be invisible on the pink disc:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:hover:active .win-commandring,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:-ms-keyboard-active .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:hover:active .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:-ms-keyboard-active .win-commandimage&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(0, 0, 64);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A tiny bit more detail; for mouse hover we want a slight tint in the disc, keeping the pink ring.&amp;nbsp; The tint we use for the normal appbar is 13% of the foreground color:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:hover .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: rgba(255, 204, 204, .13);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For keyboard users we can keep the default focus rectangle, or we can provide our own color.&amp;nbsp; Note that appbar uses a "win-hidefocus" class to hide the keyboard focus rectangle when the button wasn't focused by keyboard.&amp;nbsp; If we override the focus rectangle for our colorbutton class, then that'll be more specific than the default CSS, and we'll need to make sure to provide the more-specific win-hidefocus selector as well.&amp;nbsp; We'll make the keyboard focus rectangle the same light pink color here:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:focus&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton.win-hidefocus:focus&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: transparent;&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;That's it!&amp;nbsp; If you don't need toggle buttons, needing to specify the&amp;nbsp;selected state, or disabled buttons, then you're done and good to go!&lt;/p&gt;
&lt;h1&gt;&lt;a name="Toggles"&gt;&lt;/a&gt;Colorizing Toggle Commands&lt;/h1&gt;
&lt;p&gt;Selected toggle icons basically flip-flop from the normal rest and pressed states, so the disc will be filled in at rest, and empty when pressed.&amp;nbsp; Labels are unchanged, but the disc change means that the image icon needs to be flipped as well:&lt;/p&gt;
&lt;p&gt;Pink disc:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #800000;"&gt;button.colorbutton[aria-checked=true] .win-commandring,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #800000;"&gt;button.colorbutton[aria-checked=true]:active .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And a dark icon (appbar blue colored) to go on that disc:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true] .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:active .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:hover .win-commandimage&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(0, 0, 64);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hovering will need a little hint.&amp;nbsp; We use 87% alpha, but we have to be careful because the border ring will draw on top of the disc, so we'll see it twice.&amp;nbsp; I took a screenshot of the disc, then used mspaint's color picker to find the resulting color.&amp;nbsp; If we use the rgba alpha for both, then the ring will have slightly more color than it's supposed to:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:hover .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: rgba(255, 204, 204, 0.87);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(222, 178, 186);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Lastly, when pressed, a selected toggle command will look like a normal rest command.&amp;nbsp; So we need to apply the ring and image colors again for the mouse/touch pressed and keyboard pressed states.&amp;nbsp; Mouse/touch use :hover:active, and keyboard uses :-ms-keyboard-active:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:hover:active .win-commandring,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:-ms-keyboard-active .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: transparent;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:hover:active .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:-ms-keyboard-active .win-commandimage&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(255, 204, 204);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;That's it for toggles, unless you want to disable them, then read on...&lt;/p&gt;
&lt;h1&gt;&lt;a name="Disabled"&gt;&lt;/a&gt;Disabled Commands&lt;/h1&gt;
&lt;p&gt;The design guildlines suggest that HideCommands, etc be used to hide commands that aren't currently available, however that's not always possible.&amp;nbsp; If you need to disable a colored command, you'll need to update the disabled styles as well.&lt;/p&gt;
&lt;p&gt;When a command is disabled, we use a "grayed out" effect for it's rest state.&amp;nbsp; Unselected toggles also use this.&amp;nbsp; Note that our "gray" value is typically 40% of the full pink value.&amp;nbsp; We don't have to worry about hover or pressed since it's disabled, but we do need to make sure that "active" buttons stay looking disabled:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:disabled .win-label,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:disabled:active .win-label,&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:disabled .win-commandimage,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:disabled:active .win-commandimage&lt;/span&gt; {&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgba(255, 204, 204, 0.4);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:disabled .win-commandring,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton:disabled:active .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: transparent;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgba(255, 204, 204, 0.4);&lt;br /&gt;}&lt;span style="color: #0000ff;"&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;And that's it for disabled commands, unless you have toggles as well:&lt;/p&gt;
&lt;h1&gt;&lt;a name="DisabledToggles"&gt;&lt;/a&gt;Disabled Toggles&lt;/h1&gt;
&lt;p&gt;In addition to the above disabled command CSS for the toggle's rest state, if you have disabled toggles you'll need CSS for the disabled selected state as well.&amp;nbsp; Again, disabled pink is 40% of our normal pink state, though we are explicit about the color for our ring so that when it's applied on top of the 40% disc it doesn't appear too intense.&amp;nbsp; Also, since the disk is pink we need to make sure that the icon image stays the appbar color, dark blue in our case.&amp;nbsp; Again I used a screenshot and mspaint's color picker to figure out what 40% pink on a blue appbar was:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;code&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:disabled .win-commandring, &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:disabled:active .win-commandring&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;background-color&lt;/span&gt;: rgba(255, 204, 204, 0.4);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;border-color&lt;/span&gt;: rgb(102, 82, 120);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:disabled .win-commandimage, &lt;/span&gt;&lt;br /&gt;&lt;span style="color: #993300;"&gt;button.colorbutton[aria-checked=true]:disabled:active .win-commandimage&lt;/span&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;color&lt;/span&gt;: rgb(0, 0, 65);&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And that's it for disabled toggles!&amp;nbsp; That's most of everything, unless you have a separator in your appbar.&lt;/p&gt;
&lt;h1&gt;&lt;a name="Separator"&gt;&lt;/a&gt;Separators&lt;/h1&gt;
&lt;p&gt;Separators aren't very common in appbars, but if you do colorize your appbar and/or appbar commands, you might want to colorize your separator as well.&amp;nbsp; The normal separator is a "48% white" color, so I used 48% pink...&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;span style="color: #993300;"&gt;hr.colorbutton.win-command&lt;/span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff;"&gt;&lt;span style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color&lt;/span&gt;: rgba(255, 204, 204, 0.48);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;That's It!&lt;/h1&gt;
&lt;p&gt;That's it for the CSS needed to colorize the AppBar &amp;amp;/or AppBarCommands with colors specific to your app's needs.&lt;/p&gt;
&lt;p&gt;The link to my example project is here.&amp;nbsp; The default.css file has more detailed comments about the various states:&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3113.CustomAppBarColor.zip"&gt;http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3113.CustomAppBarColor.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You might also be interested in the sprite example for more involved appbar icon image customization:&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/shawnste/archive/2012/06/16/custom-appbar-sprite-icons-for-your-windows-8-metro-style-html-app.aspx"&gt;http://blogs.msdn.com/b/shawnste/archive/2012/06/16/custom-appbar-sprite-icons-for-your-windows-8-metro-style-html-app.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10330984" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/AppBar/">AppBar</category></item><item><title>Klingon Win8 Lock Screen: Might Sell Qurgh on Win8 After All :)</title><link>http://blogs.msdn.com/b/shawnste/archive/2012/07/11/klingon-win8-lock-screen-might-sell-qurgh-on-win8-after-all.aspx</link><pubDate>Thu, 12 Jul 2012 02:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10329082</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10329082</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2012/07/11/klingon-win8-lock-screen-might-sell-qurgh-on-win8-after-all.aspx#comments</comments><description>&lt;p&gt;A while ago I blogged about &lt;a href="http://blogs.msdn.com/b/shawnste/archive/2006/02/17/klingon-in-piqad-windows-vista-custom-locale.aspx"&gt;Klingon in pIqaD in a Custom Locale&lt;/a&gt; - that worked OK in Vista &amp;amp;&amp;nbsp;Win7 using Uniscribe font fallback, but Win8 uses DWrite in a lot of places, and DWrite really would prefer EUDC (End User Defined Character) fallback.&amp;nbsp; So my pIqaD didnʻt work so hot on Win8 :(&amp;nbsp; Fortunately I found a reg key to fix that :)&amp;nbsp; (This is abusing some of the OS behavior, which was designed for Chinese and Japanese, not Klingon).&lt;/p&gt;
&lt;p&gt;EUDC characters are intended for use in primarily the CJK region, where you may need to use the "End user defined character" section of a code page (yes, code pages are evil, use Unicode).&amp;nbsp; The EUDC sections are mapped to the Unicode PUA (Private Use Area), which is where Klingon lives since itʻs not in Unicode.&amp;nbsp; Conscript gave some "consistent" (its not really a standard) places to put things like Klingon so I use those.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway, normally the "code page" corresponding to the system code page of interest is used to look up extended mappings in the EUDC key.&amp;nbsp; Typically thatʻs something like "932", but it works for 1252 as well.&amp;nbsp; (If youʻre using another code page, update the example appropriately.&amp;nbsp; So, we add a key telling Windows that for ʻend userʻ characters when the systemʻs running 1252, look in this font, eg:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;[HKEY_CURRENT_USER\EUDC\1252]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;"SystemDefaultEUDCFont"="pIqaD.ttf"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Not terribly difficult.&amp;nbsp; Log off/on to the user and voila, we have Klingon fallback.&amp;nbsp; Qurgh is gonna love this: I even make a pIqaD user account, and with the fallback I see it on the Start Screen:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/8156.KlingonAccount.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/8156.KlingonAccount.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thatʻs wonderful, the lock screen also uses our user locale information (set Klingon pIqaD from my Vista custom locale), but the systemʻs actually doing the work.&amp;nbsp; I copied the key "everywhere" just to make sure:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;[HKEY_USERS\S-1-5-20\EUDC\1252]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;"SystemDefaultEUDCFont"="pIqaD.ttf"&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;[HKEY_USERS\S-1-5-19\EUDC\1252]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;"SystemDefaultEUDCFont"="pIqaD.ttf"&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;[HKEY_USERS\S-1-5-18\EUDC\1252]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;"SystemDefaultEUDCFont"="pIqaD.ttf"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Donʻt forget default, new users are going to want pIqaD, Iʻm sure of it :)&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;[HKEY_USERS\.Default\EUDC\1252]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new,courier;"&gt;"SystemDefaultEUDCFont"="pIqaD.ttf"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And with that change, our&amp;nbsp;custom locale provides Klingon on the lock screen too!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3426.KlingonLock.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3426.KlingonLock.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Iʻm&amp;nbsp;not sure where the wallpaper came from, if it was you, thanks).&lt;/p&gt;
&lt;p&gt;Qurgh and I differ a bit on our approach to Klingon long date formats, but I like all that pIqaD.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course it isnʻt complete without the logon screen:&amp;nbsp; (It was great of the theme guys to give us wonderful colors perfect for Klingons)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3201.KlingonLogon.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3201.KlingonLogon.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And wait, thereʻs more.&amp;nbsp; Other users (because of .default if you got there first) can see that thereʻre Klingons sharing the machine:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3324.KlingonUsers.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3324.KlingonUsers.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And of course the Uniscribe stuff from my Vista post still works in other places.&amp;nbsp; This box has a Klingon admin:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/6320.KlingonAdmin.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/6320.KlingonAdmin.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Of course, Iʻm just taking advantage of stuff that was intended for other purposes.&amp;nbsp; More often EUDC is used for CJK character that represent names and other words not encoded in Unicode.&amp;nbsp; So a company could use this technique to make sure that important words were usable internally.&amp;nbsp; A family with unique names could make a font though and do this for their names.&lt;/p&gt;
&lt;p&gt;Also, my Vista custom locale is a bit old, but I wanted tell Qurgh how to set up the EUDC stuff for his custom Klingon locales.&amp;nbsp; I need to update my own older pIqaD custom locale package and keyboards, but thatʻll take a while..&lt;/p&gt;
&lt;p&gt;(PS: I forgot to mention that EUDC fallback also respects the locales digit substitutions, so youʻll get Klingon numbers in various places.&amp;nbsp; Uniscribe only does digit substitution for the number ranges it knows about (eg: those in Unicode, not the PUA), so those apps wonʻt see numbers in pIqaD).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10329082" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Custom+Cultures+_2F00_+Locales+_2F00_+CultureInfo/">Custom Cultures / Locales / CultureInfo</category><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Klingon/">Klingon</category></item><item><title>Email Address Internationalization, aka: using UTF-8 in email, RFCs are published</title><link>http://blogs.msdn.com/b/shawnste/archive/2012/06/22/email-address-internationalization-aka-using-utf-8-in-email-rfcs-are-published.aspx</link><pubDate>Fri, 22 Jun 2012 18:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10320975</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10320975</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2012/06/22/email-address-internationalization-aka-using-utf-8-in-email-rfcs-are-published.aspx#comments</comments><description>&lt;p&gt;I helped write an RFC&amp;nbsp;(&lt;a href="http://www.rfc-editor.org/rfc/rfc6532.txt"&gt;http://www.rfc-editor.org/rfc/rfc6532.txt)&lt;/a&gt;&amp;nbsp;:)&amp;nbsp; (Well, I've had input before, but this is the first time as an author).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The core Email Address Internationalization RFCs, which allow UTF-8 in email addresses and use UTF-8 in SMTP by default, were published back in February.&amp;nbsp; I sort of just realized I hadn't blogged about it, so I thought I'd mention it now :)&lt;/p&gt;
&lt;p&gt;The list of EAI RFCs can be seen on the EAI working group page at &lt;a href="https://datatracker.ietf.org/wg/eai/"&gt;https://datatracker.ietf.org/wg/eai/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10320975" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/eMail+Address+Internationalization/">eMail Address Internationalization</category></item><item><title>There's a Lego Cruise Ship in Building 85</title><link>http://blogs.msdn.com/b/shawnste/archive/2012/06/16/building-the-lego-disney-wonder.aspx</link><pubDate>Sat, 16 Jun 2012 19:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10320989</guid><dc:creator>Shawn Steele - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/shawnste/rsscomments.aspx?WeblogPostID=10320989</wfw:commentRss><comments>http://blogs.msdn.com/b/shawnste/archive/2012/06/16/building-the-lego-disney-wonder.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;This has nothing to do with work (well, OK, I used Windows 8 for some photos, planning, desktop&amp;nbsp;publishing,&amp;nbsp;printing and scanning, so I tested some of those scenarios,&amp;nbsp;but other than that...)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;[The Lego Wonder is currently (2012) in Building 85.&amp;nbsp; She'll be at ECCC Emerald City Comicon this weekend March 1, 2013.]&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;The Lego Wonder&lt;/h1&gt;
&lt;p&gt;Recently, I built a model of the Disney Wonder, in Lego.&amp;nbsp; (I'm known for building Lego things, like &lt;a title="Dropping the Space Needle" href="http://blogs.msdn.com/b/shawnste/archive/2010/02/02/shawn-dropped-the-space-needle.aspx"&gt;Dropping the Space Needle&lt;/a&gt;), and I've gotten a lot of questions, so here goes:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3438.LegoWonderGlamourSmall.png"&gt;&lt;img style="border: 0px currentColor; vertical-align: baseline;" title="Lego Disney Wonder" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/3438.LegoWonderGlamourSmall.png" alt="Nearly complete Lego Wonder on a table on deck 9 in the middle of the pacific ocean." /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Lego Wonder is as accurate as I could make it, which took about 4500 pieces.&amp;nbsp; The stats: it's about 4 feet /&amp;nbsp;1.2 meters long.&amp;nbsp; It took about 6 days (Lara says 60 hours) to build, as we were interrupted by shows on the ship, ports of call, etc.&amp;nbsp; As there are few Lego stores in the middle of the Pacific Ocean, we spent a couple weeks planning before the trip.&lt;/p&gt;
&lt;h1&gt;It Just Happened One Day&lt;/h1&gt;
&lt;p&gt;I blame it all on my wife, Lara.&amp;nbsp; We were planning on a cruise (one guess which ship), and she pointed out that on long cruises they sometimes have boat building contests.&amp;nbsp; She also mentioned that the judges might like their own ship, and, besides, it's a pretty ship.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/7853.blogLegoWonderPlan.jpg"&gt;&lt;img style="float: right; max-height: 150px; margin-left: 10px; margin-bottom: 10px;" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/7853.blogLegoWonderPlan.jpg" alt="Rough mockup of wonder" /&gt;&lt;/a&gt;With that conversation in mind, our&amp;nbsp;Lego store&amp;nbsp;had a sale a few weeks before the cruise, and so I grabbed some bulk bricks.&amp;nbsp; Of course I got home tried to do some research, and discovered that all my guesses were all wrong.&amp;nbsp; (I usually underestimate how many pieces I'll need for these things).&amp;nbsp; Also, in the store there were 1x3 yellow bricks that I thought might work for life boats.&amp;nbsp; I also guessed that 16 studs wide would be about wide enough for the detail, and figured it'd be maybe 2 or 3 feet long.&amp;nbsp; Once I got the dimensions of the real ship I found how long and skinny these things are.&amp;nbsp; &amp;nbsp;My width, and the structure of the balconies also sort of forced the scale.&amp;nbsp; If I wanted it 16 studs wide it was going to have to be 150 or so studs long....&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/5857.MorePlanningWOnder.png"&gt;&lt;img style="float: left; max-height: 150px; margin-right: 10px; margin-bottom: 10px;" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-45-15/5857.MorePlanningWOnder.png" alt="" /&gt;&lt;/a&gt;My 3-stud lifeboats weren't going to fit at that scale.&amp;nbsp; But the store didn't have any bricks the right color, so I was going to have to order bricks, with only a couple of weeks before we left on the cruise.&amp;nbsp; I browsed through parts lists and came up with a few different ideas, but I wouldn't really know until I had the bricks in hand to play with, so I ordered parts for different ways of building it.&amp;nbsp; Enough for 10 lifeboats on each side.&amp;nbsp; I tried a few things at home, but crossed my fingers that the parts would work when they came.&amp;nbsp; That went for several other pieces as well.&amp;nbsp; The stacks for example, I only had a vague idea about, and so I tried to find a few different options that might work.&lt;/p&gt;
&lt;p&gt;My biggest problem is that I remembered the hull being blue, but&amp;nbsp;that didn't work in the rough mockup of part of the hull.&amp;nbsp; I went back to the store&amp;nbsp;and got black, which worked a lot better (the hull looks black in a lot of photos of the real ship), but I still wanted better.&amp;nbsp; Unfortunately the right color was very rare and difficult to find.&amp;nbsp; I managed to order some at the last minute, but it didn't seem like it would arrive in time.&amp;nbsp; I gathered some black just in case.&amp;nbsp; On the last day before we left I checked the mailbox, not really expecting anything.&amp;nbsp; There were some letters, so the mail had come, but no bricks :(&amp;nbsp; Not terribly surprised that they hadn't come, I walked up to the door, and there was a&amp;nbsp;small package.&amp;nbsp; The missing bricks had arrived!&lt;/p&gt;
&lt;p&gt;There's a Lego Cruise Ship in Building 85 (page 1)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/shawnste/archive/2012/06/16/like-what-do-you-mean-there-aren-t-any-instructions.aspx"&gt;&amp;gt;&amp;gt; Like, What Do You Mean There Aren't Any Instructions (page 2)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/shawnste/archive/2012/06/16/building-the-lego-wonder.aspx"&gt;&amp;gt;&amp;gt; Building the Lego Wonder (page 3)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/shawnste/archive/2012/06/16/land-ho.aspx"&gt;&amp;gt;&amp;gt; Land Ho! (page 4)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/shawnste/archive/2012/06/16/all-done-with-the-lego-wonder.aspx"&gt;&amp;gt;&amp;gt; All Done with the Lego Wonder (page 5)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10320989" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/shawnste/archive/tags/Lego/">Lego</category></item></channel></rss>