G
Guest
Hi,
I have a very common problem. I try to change my encoding from
defaultencoding (UTF-16) to iso-8859-15.
My source:
Encoding encoder = Encoding.GetEncoding("iso-8859-15");
log.logDebug("Encoding is " + encoder.GetEncoder());
byte[] byteArray = new byte[buffer.Length];
byteArray = encoder.GetBytes(buffer);
the logging output:
Encoding is System.Text.Encoding+DefaultEncoder
Does anybody has an idea. I would appreciate it.
Marco
I have a very common problem. I try to change my encoding from
defaultencoding (UTF-16) to iso-8859-15.
My source:
Encoding encoder = Encoding.GetEncoding("iso-8859-15");
log.logDebug("Encoding is " + encoder.GetEncoder());
byte[] byteArray = new byte[buffer.Length];
byteArray = encoder.GetBytes(buffer);
the logging output:
Encoding is System.Text.Encoding+DefaultEncoder
Does anybody has an idea. I would appreciate it.
Marco