B4J Question Accented letters

Isac

Active Member
Licensed User
Longtime User
How do you solve the problem of accented letters?

in Command Prompt commands = Sì but StdOut = S�


see Attachment


B4X:
     Sub shl_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
   If Success Then
     Log(StdOut)
     fx.Msgbox(MainForm, StdOut, "IPCONFIG")
   End If
End Sub

B4X:
 Dim s As Shell
s.Initialize("shl", "\windows\System32\ipconfig", _
Array As String("/all"))
s.Run(-1)
 

Attachments

  • acc.PNG
    acc.PNG
    3.8 KB · Views: 269
Last edited:

Isac

Active Member
Licensed User
Longtime User
I have tried many codes but do not work.
with this coding: iso8859-15 disappears the letter ì.



without coding: DHCP abilitato. . . . . . . . . . . . : S� with coding: iso8859-15 DHCP abilitato. . . . . . . . . . . . : S



some idea?

B4X:
s.Encoding="iso8859-15"
 
Upvote 0

Isac

Active Member
Licensed User
Longtime User
ok solved
This is the encoding

ibm850 OEM Multilingual Latin 1; Western European (DOS)

with coding: ibm850 DHCP abilitato. . . . . . . . . . . . : Sì


B4X:
s.Encoding="ibm850"
 
Upvote 0

Isac

Active Member
Licensed User
Longtime User
Hi jmon

I try but do not work, i think this coding is dedicated to dos.

ibm850 ----> Western European (DOS)
 
Upvote 0
Top