Hello, I am a long time user of your ChilkatSoft utilities.
Can you help me with something?
I am trying to figure out if we can decode a % encoded URL string. It’s in European characters and comes from us via a website in Europe.
This is in Bulgarian
For example, we get something like this that a user types into a web page…
котката в шапката се връща
But when that information gets transferred to us… we see it encoded like this…
I need to know if we can figure out a way to translate this to the Bulgarian characters from the encoded format.
Does your Charset component handle this?
asked Jul 12 at 13:20
The solution is to URL decode to bytes, and then interpret the bytes according to the correct character encoding (utf-8, Windows-1251, etc.) to get the string.
It turns out this data is the utf-8 representation of the Bulgarian text.
This is an easy solution in C#:
Chilkat.Crypt2 crypt = new Chilkat.Crypt2();