Detect encoding from string?
foxi69 opened this issue · comments
foxi69 commented
Can i get proper encoding from text like this? "Español"
Julian Verdurmen commented
Well the encoding in a string is always UTF 16.
.NET uses UTF-16 to encode the text in a string. A char instance represents a 16-bit code unit.
From https://learn.microsoft.com/en-us/dotnet/standard/base-types/character-encoding-introduction
foxi69 commented
Okay, and can I convert this to the correct character set?
It could be "Español"
Btw it came from Xabe.FFmpeg SubtitleStream.Title prop.