Re: about escape sequence in RC file



Thank you so much, Micky. You are absolutely right.

--

Best regards.

Susan
"Micky" <micky@xxxxxxxxxx> wrote in message
news:dgdv3o$cht$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> "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.
>
>


.



Relevant Pages

  • Re: Please critique my code/program
    ... It fails to omit detection of a comment start within a character ... It fails to protect end of string detection from escaped quotes: ... > constant escapes. ...
    (comp.lang.c)
  • Re: How to do things I used to do on my Mac
    ... codes for these and others will work with your normal typeface, ... Character Map, change to your normal typeface and click on the character you ... As for the creating a new folder. ... Most windows programs will allow you to ...
    (microsoft.public.windowsxp.newusers)
  • RfD - Escaped Strings (long)
    ... the S" string can only contain printable characters, ... the S" string cannot contain the '"' character, ... \b BS (backspace, ASCII 8) ... \ ** escapes to characters much as C does. ...
    (comp.lang.forth)
  • Re: C String Prefix Operator Idea (Was: gfortran diagnostics and so on)
    ... Microsoft says that '\c' should translate to 'c' but gfortran would ... but the behavior is undefined if the resulting character ... is four hex digits. ... These escapes are processed ...
    (comp.lang.fortran)
  • Re: output ampersand using XML::Twig
    ... XML data, then it receives unescaped utf8 strings from the parser ... first 2 solutions) being to get the unicode character for   ... turn off XML escapes for the element content ... {# use an Encode output filter that encodes (using decimal ...
    (comp.lang.perl.modules)

Loading