NewDoc not saving as UTF16LEBOM

Post Reply
sl23
Posts: 161
Joined: 29.01.2013 10:04

NewDoc not saving as UTF16LEBOM

Post by sl23 »

I am trying to figure out how to do this as I have only just found out Rainmeter requires this file encoding.
I have tried to copy the existing example of utf8_bom by changing it to utf16_bom, but this isn't working for me. I have tried looking at the wiki, but cannot find what I'm looking for.

What do I need to put in the setting for newdoc_encoding for CT to create a new doc in that format?

Also, sort of connected, do you know of a way to convert batches of files to UTF16LEBOM?

Thanks for your help.
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: NewDoc not saving as UTF16LEBOM

Post by main Alexey »

https://wiki.freepascal.org/CudaText#Encodings
this page lists all possible names.
i tried "utf16le_bom" and it is supported already.

>>do you know of a way to convert batches of files to UTF16LEBOM?
sorry, I dont.
sl23
Posts: 161
Joined: 29.01.2013 10:04

Re: NewDoc not saving as UTF16LEBOM

Post by sl23 »

Thank you for your help. :)
Live for an ideal and leave no place in the mind for anything else.
Post Reply