not a bug: how do I make RJTE actually support Unicode text ??

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
User avatar
DerellLicht1
Posts: 171
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

not a bug: how do I make RJTE actually support Unicode text ??

Post by DerellLicht1 »

I'm modifying a couple of console programs such that they support Unicode text...
However, I don't seem to be able to actually store such strings in RJTE ...

For example, this folder name that I use for testing (let's see if it even works here...)

D:\SourceCode\Git\unicode_console Yes, Master?? > unicons derelict cornucopia "буяновский страйкбол"
arg 0: unicons
arg 1: derelict
arg 2: cornucopia
arg 3: буяновский страйкбол

When I copy this data from the screen, and paste it into a text file (or my C++ source code), it displays like this...
But when I close and re-open the file, I see this:
D:\SourceCode\Git\unicode_console Yes, Master?? > unicons derelict cornucopia "?????????? ?????????"
arg 0: unicons
arg 1: derelict
arg 2: cornucopia
arg 3: ?????????? ?????????

I thought RJTE was using UTF8 for text and code files???

Sorry for posting this here; it *should* have been in Discussions... DM is free to move this thread if he wishes!!
Last edited by DerellLicht1 on 02 Jun 2025 15:13, edited 2 times in total.
User avatar
Rickard Johansson
Site Admin
Posts: 6799
Joined: 19 Jul 2006 14:29

Re: how do I make RJTE actually support Unicode text ??

Post by Rickard Johansson »

You can use "Save As..." and save the file as UTF-8, or click on the status-bar (encoding column) and change the encoding.

There are options you can set to change the default encoding for new documents.

Just make sure the file is saved as Unicode UTF-8 and not ANSI.
User avatar
DerellLicht1
Posts: 171
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: how do I make RJTE actually support Unicode text ??

Post by DerellLicht1 »

Cool, thanks!! Yes,
Options -> File -> Open -> default encoding
does exactly what I wanted!!
Post Reply