[Mono-list] Problem with Encoding.Default

Carlos Guzmán Álvarez carlosga@telefonica.net
Sat, 16 Nov 2002 17:16:16 +0100


Hello:


More information about this issue.

- MS .Net  on Windows have as Default Encoding:
	Windows-1252 Codepage

- Mono on Linux have as Default Encoding:
	UTF-8.

Rigth are different :) .

But if i make this :

Encoding.UTF8.GetByteCount("linux")

- MS .Net on Windows:
	
	returns 5 bytes of length.

- Mono on Linux:
	
	returns 8 bytes of length.



Best regards
Carlos Guzmán Álvarez
Vigo-Spain