Writing Unicode UTF-8 file

52 views
Skip to first unread message

thomas....@natural-software.eu

unread,
Jul 21, 2026, 2:56:49 PMJul 21
to VAST Community Forum
Hello

I need to write a UTF-8 file in Windows (with german Umlaute, etc.)

What is the recommended way to write a Unicode String with CfsWriteFileString?

Feels like a stupid question...

--Thomas

Adriaan van Os

unread,
Jul 21, 2026, 5:32:35 PMJul 21
to VAST Community Forum
Hi Thomas,

Message has been deleted

thomas....@natural-software.eu

unread,
Jul 25, 2026, 9:55:26 AM (13 days ago) Jul 25
to VAST Community Forum
Geez....
Thought this might be simple and straight forward and I am missing something. Ok - have to work on my use case as I do not need 100% UTF-8 with Emojis, etc. just to transfer some XML files between systems (ST and Non-ST)

Johan Brichau

unread,
Jul 25, 2026, 11:08:18 AM (13 days ago) Jul 25
to VAST Community Forum
Hi Thomas,

The discussion Adriaan pointed concerns a broader topic, which is useful but simply writing a UTF-8 for a UnicodeString to a filestream is not difficult, as also outlined by Adriaan in that same thread:

    fileStream nextPutAll: aUnicodeString asUtf8Bytes

Does that work for you?

Reply all
Reply to author
Forward
0 new messages