Hello !
I get from an BT Serial Port Module the Data in IBM850 Codec,
this is not changeable:
ß
00DF
225
ä
00E4
132
ö
00F6
148
ü
00FC
129
Ä
00C4
142
Ö
00D6
153
Ü
00DC
154
Sub BT_AStream_NewData (Buffer() As Byte)
Dim Buffer_MSG As String
Buffer_MSG = BytesToString(Buffer, 0, Buffer.Length, "UTF8")
or
Buffer_MSG = BytesToString(Buffer, 0, Buffer.Length, "ASCII")
IBM850 not available ?
I get always the replacement character � U+FFFD
In basic4pcc it goes:
buffer() = Serial1.InputArray
sSerial = sSerial & bit850.BytesToString(buffer(),0,ArrayLen(buffer()) )
but in b4a is no serial InputArray available
How i can get the ßäöüÄÜÖ
Any Suggestion ?
Thanks.
Best regards
Albert
I get from an BT Serial Port Module the Data in IBM850 Codec,
this is not changeable:
ß
00DF
225
ä
00E4
132
ö
00F6
148
ü
00FC
129
Ä
00C4
142
Ö
00D6
153
Ü
00DC
154
Sub BT_AStream_NewData (Buffer() As Byte)
Dim Buffer_MSG As String
Buffer_MSG = BytesToString(Buffer, 0, Buffer.Length, "UTF8")
or
Buffer_MSG = BytesToString(Buffer, 0, Buffer.Length, "ASCII")
IBM850 not available ?
I get always the replacement character � U+FFFD
In basic4pcc it goes:
buffer() = Serial1.InputArray
sSerial = sSerial & bit850.BytesToString(buffer(),0,ArrayLen(buffer()) )
but in b4a is no serial InputArray available
How i can get the ßäöüÄÜÖ
Any Suggestion ?
Thanks.
Best regards
Albert