B4J Question FTPServer Non-Ascii support - SOLVED

Philip Chatzigeorgiadis

Active Member
Licensed User
Longtime User
Testing the [B4X] Server Implemented with Socket and AsyncStreams (https://www.b4x.com/android/forum/t...plemented-with-socket-and-asyncstreams.74320/)
Everyting runs fine, except the display of non-Ascii folders and files.
It is just a display issue, as non Ascii folders can be accessed and non Ascii files can be downloaded without problem.
Note that the Filezilla client indicates "Server does not support non-ASCII characters" (3rd line from top).
Is there a way to add non-ASCII character support?
PIC.PNG
 

Philip Chatzigeorgiadis

Active Member
Licensed User
Longtime User
UPDATE
I tried different values for the charset value in the AsyncStreamsText.bas file:

B4X:
Public charset As String = "UTF-8"

Tried ISO-8859-7, Windows-1253 encodings with no success.

Also tried to run the server with this command (changing the encoding for each case):

B4X:
java -Dfile.encoding=UTF-8 -jar FTPServer

Again, no success.
 
Upvote 0
Top