SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

.RC file seems to always be saved in unicode format

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder
View previous topic :: View next topic  
Author Message
TallBob



Joined: 28 Nov 2019
Posts: 2

PostPosted: Sat Nov 30, 2019 3:03 pm    Post subject: .RC file seems to always be saved in unicode format Reply with quote

I need to save my .rc file in ordinary ASCII, not UNICODE. I am using File->Save as to store it.

On Save-as I can see the default option of "Unicode Resource Scripts (*.rc, *.drc)" and "Resource Scripts (*.rc, *.drc)". I am choosing the second one (without Unicode) but the .rc file that is created (in either case) is UNICODE.

How do I save an non-unicode .rc file?

Newbie user with registered software,
bob
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2164

PostPosted: Sun Dec 01, 2019 8:25 am    Post subject: Reply with quote

Hello,

It looks like a small bug there with this. If you open (or create and save) Unicode RC file first then all next savings will be in Unicode as well. If you open (or create and save) ANSI RC file then next savings will be in ANSI format.
Sorry for this.
Back to top
View user's profile Send private message
TallBob



Joined: 28 Nov 2019
Posts: 2

PostPosted: Sun Dec 01, 2019 8:48 am    Post subject: Reply with quote

Yes, that did in fact work. I can work with this, but you should fix "File->Save as" too.

One other thing: I don't know how you handle this, but if I were to try to "File->Save as" a .rc as ANSI that in fact contains Unicode I would expect the program to point this out to me and give me several choices:

1) Save as UNICODE instead.
2) Save as ANSI but drop the Unicode characters.
3) Save as ANSI but try to convert the Unicode to ANSI.
4) Cancel the save.

For option 3 it would try to find a reasonable match. For example to use "e" instead of "e`" The point here is to try to be flexible and allow some sort of conversion "downward" giving several different (destructive) options.

Thank you,

bob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group