How to change default of File > File format

Just starting out? Need help? Post your questions and find answers here.
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

How to change default of File > File format

Post by charvista »

Hello,
When a New program in the PB editor is clicked, the default File format is always "Encoding: Plain Text".
Cyrillic text for example, is showed with "?????" (all question marks).
I would like to change the default to "Encoding: Utf-8" to be able to display correctly all characters as Unicode.
Normally make it all Unicode... forever, but I don't see in the Settings where I can change that. Any idea?
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
User avatar
HeX0R
Addict
Addict
Posts: 1219
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: How to change default of File > File format

Post by HeX0R »

Preferences -> Compiler -> Defaults -> Source File Text Encoding
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

Re: How to change default of File > File format

Post by charvista »

Preferences -> Compiler -> Defaults -> Source File Text Encoding
Perfect ! Thank you very much HeX0R ! (is it pronounced Hexor? :mrgreen: )
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
User avatar
HeX0R
Addict
Addict
Posts: 1219
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: How to change default of File > File format

Post by HeX0R »

charvista wrote: Wed Apr 03, 2024 11:01 am (is it pronounced Hexor? :mrgreen: )
More like in Neighbour :mrgreen:
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

Re: How to change default of File > File format

Post by charvista »

HeX0R wrote: Wed Apr 03, 2024 11:16 am More like in Neighbour :mrgreen:
:lol: :lol: :lol:
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
Post Reply