Skip to content

Read the BOM and use it to set encoding when processing files - #14

Merged
ericdc1 merged 1 commit into
ClearMeasure:masterfrom
armannvg:FileBOMEncodingDetection
Feb 10, 2016
Merged

ericdc1 merged 1 commit into
ClearMeasure:masterfrom
armannvg:FileBOMEncodingDetection

Conversation

@armannvg

Copy link
Copy Markdown

AliaSQL was having encoding problems when processing files with Spanish characters even though the BOM was set to UTF8. This was fixed by reading the BOM for the files and use the detected encoding as input to the StreamReader(...).

Tested locally by executing AliaSQL with files containing Spanish characters, which were read into a web UI and displayed correctly. It has been verified that the solution builds but I have not executed all the tests in the solution.

…read its content using the detected encoding.
ericdc1 added a commit that referenced this pull request Feb 10, 2016
Read the BOM and use it to set encoding when processing files
@ericdc1
ericdc1 merged commit 689fb64 into ClearMeasure:master Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants