Re: How does RC file store double-bytes chars ?
- From: "Polaris" <etpolaris@xxxxxxxxxxx>
- Date: Wed, 5 Apr 2006 16:25:59 -0700
Thanks.
Is MBCS same as UTF-8 (also mixed length chars)? The leading bytes do not
indicate such.
Is there a way to identify a file with MSCS format?
Polaris
"Tom Serface" <tserface@xxxxxxx> wrote in message
news:uBpayYBWGHA.436@xxxxxxxxxxxxxxxxxxxxxxx
Older RC files are MBCS which means they will be dependent on the code
page loaded. For example, if you edit your Chinese RC while using a
Western (English for example) regional setting you will mess it up when
you save it. I alway change to the region I'm editing before making any
changes just to be sure.
2005 seems to work OK with Unicode RC files. The older IDE would complain
that the file was already in use if/when you tried to open it in the
resource editor.
Tom
"Polaris" <etpolaris@xxxxxxxxxxx> wrote in message
news:uSNLK$AWGHA.6000@xxxxxxxxxxxxxxxxxxxxxxx
Hi Experts:
I'm using Visual Studio 7. I have a RC file where many double-bytes chars
are stored (Chinese Characters).
I was thinking that the rc file must be either UTF-16 or UTF-8, but by
examining the file in binary editor, its leading bytes do not indicate
either UTF-16 (0xFFFE), nor UTF-8 (0xEFBBBF).
Any explanation is appreciated.
Thanks in Advance !
Polaris
.
- References:
- How does RC file store double-bytes chars ?
- From: Polaris
- Re: How does RC file store double-bytes chars ?
- From: Tom Serface
- How does RC file store double-bytes chars ?
- Prev by Date: Re: "definition of dllimport function not allowed" error
- Next by Date: Re: auto vs const vs static const
- Previous by thread: Re: How does RC file store double-bytes chars ?
- Next by thread: Problems registering Visual Studio Express 2005
- Index(es):
Relevant Pages
|