Re: about escape sequence in RC file
- From: "Micky" <micky@xxxxxxxxxx>
- Date: Fri, 16 Sep 2005 08:18:01 +0000 (UTC)
"Susan Kong" <susan@xxxxxxxxxxxxxx> wrote in message
news:e3huvLnuFHA.904@xxxxxxxxxxxxxxxxxxxxxxx
> Hi there,
>
> As we know \n, \r can be used as escape sequence in string table of RC
> file,
> but when I use \" or \', they automatically are changed to \\" and \\' and
> as a result displaying of them definitely are not correct.Who knows why
> this
> happens?
>
> Moreover, anybody knows the escape sequence of "square" and "cubic",
> which
> represent area and volumn unit respectively.
>
> Appreiciate any response.
For single and double quotes you don't need the slash at all. Since they're
string resources, embedded quotes don't need to be escaped (the escapes are
implied because the open/close quotes are also implied).
The square and cubic symbols can be inserted directly into any string
resource:
The square symbol is ALT+0178
The cubic symbol is ALT+0179
NOTE: Ensure the document's typeface actually supports these characters and
prevent the user from changing the typeface to one that does not. If you
must employ user-defined fonts, consider using an otherwise unused token in
place of the escaped character. When you encounter the token, determine its
coordinates within the string, replace it with a space, then overlay the
appropriate character using an appropriate typeface at the established
coordinates. You could also use a standard numeric character with a smaller
font size if you prefer -- particularly useful when dealing with powers
other than 2 or 3. A better alternative would be to use a fixed-font that
actively supports the required mathematical representations you need.
.
- Follow-Ups:
- Re: about escape sequence in RC file
- From: Susan Kong
- Re: about escape sequence in RC file
- References:
- about escape sequence in RC file
- From: Susan Kong
- about escape sequence in RC file
- Prev by Date: about escape sequence in RC file
- Next by Date: Re: about escape sequence in RC file
- Previous by thread: about escape sequence in RC file
- Next by thread: Re: about escape sequence in RC file
- Index(es):
Relevant Pages
|