Error!
Success!

Detecting Text Encoding for StreamReader

0
kicks

Detecting Text Encoding for StreamReader  (Unpublished)

Reading Text files with proper encoding and byte order marks can be a bit of a pain when using a StreamReader as there's no detection of no byte order mark that defaults to UTF-8 which is usually incorrect. Here are a few thoughts on explicitly detecting BOM settings and getting a corresponding Encoding.


Kicked By:
Drop Kicked By: