Corrado's Blog 2.0

Online thoughts of a technology funatic

UWP: Read German text from a file

I had some hard times figuring out how to properly read a file that contains typical German characters (e.g umlauts) so I want to share my solution in case are in the same situation.

The magic trick is to register a new provider named “windows-1254” using Encoding.RegisterProvider

1 Comment “UWP: Read German text from a file”

  1. :) Nope. I still can’t read it. Still in German.

    Comment by Jerry Nixon — 28/11/2016 @ 21:38

RSS feed for comments on this post. TrackBack URL

Leave a Response