R
Robin
I am writing a .Net CF 2.0 application that sends data to a mobile
printer through a serial bluetooth connection. In order for the
printer to understand the French characters the data needs to be
encoded to ISO-8859-1 using
System.Text.Encoding.GetEncoding(28591).GetBytes(sData) which throws a
"PlatformNotSupportedException" when run on a Windows Mobile 5.0
system. It however works fine from Windows.
According to: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=466564&SiteID=1
the only real alternative is to use Windows-1252 encoding which the
printer does not understand.
PS- If there was anyway for me to change this to UTF-8 I would, but it
is a printer data requirement.
Any thoughts would appreciated.
Thanks!
Diilb
printer through a serial bluetooth connection. In order for the
printer to understand the French characters the data needs to be
encoded to ISO-8859-1 using
System.Text.Encoding.GetEncoding(28591).GetBytes(sData) which throws a
"PlatformNotSupportedException" when run on a Windows Mobile 5.0
system. It however works fine from Windows.
According to: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=466564&SiteID=1
the only real alternative is to use Windows-1252 encoding which the
printer does not understand.
PS- If there was anyway for me to change this to UTF-8 I would, but it
is a printer data requirement.
Any thoughts would appreciated.
Thanks!
Diilb