<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>FSharp on Ralph Romero</title>
    <link>https://blog.romero.id.au/tags/fsharp/</link>
    <description>Recent content in FSharp on Ralph Romero</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 01 Dec 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.romero.id.au/tags/fsharp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Displaying International Characters in the F# Console</title>
      <link>https://blog.romero.id.au/posts/displayinternationalcharactersinfsharpconsole/</link>
      <pubDate>Tue, 01 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://blog.romero.id.au/posts/displayinternationalcharactersinfsharpconsole/</guid>
      <description>When outputting non-English characters in an F# console, you may find that the characters are unrepresentable. For example
printfn &amp;#34;あそこで買う&amp;#34; printfn &amp;#34;ليونيكود&amp;#34; printfn &amp;#34;медве́дем&amp;#34; printfn &amp;#34;Hồ Xuân Hương&amp;#34; gives you
?????? ???????? ?????´??? H? Xuân Huong To correct this, set the output encoding before the output
System.Console.OutputEncoding &amp;lt;- System.Text.Encoding.Unicode printfn &amp;#34;あそこで買う&amp;#34; printfn &amp;#34;ليونيكود&amp;#34; printfn &amp;#34;медве́дем&amp;#34; printfn &amp;#34;Hồ Xuân Hương&amp;#34; then run the console. Click on the top left icon on the console window and select Properties.</description>
    </item>
    
  </channel>
</rss>
