[comp.windows.x] Specifying funny characters in a resource file

simkin@ginosko.samsung.com (Rick Simkin) (08/05/89)

I'm trying to use a resource file to hold text strings that my X application
will display as button labels.  Conventional stuff works just fine:

*application*myButton*label: Button1


But now I'm trying to use a new font (a different alphabet) which has
important characters stored in slots beyond 0x7f.  The problem I'm running
up against is that I don't know how to specify those characters.  None of
the following attempts do what I want (display character 0xfc):

*application*myButton*label: \fc
*application*myButton*label: \0xfc
*application*myButton*label: \xfc
*application*myButton*label: \0374
*application*myButton*label: \374
*application*myButton*label: <udiaresis>

I'd appreciate any help you could give me with this.  Thanks!
-------------------------------------------------------------------------------
Rick Simkin                    || Phone: +1 (508) 685-7200 x134 (fax 685-4940)
Samsung Software America, Inc. || Internet: simkin@samsung.com
1 Corporate Drive              || UUCP: {uunet,ulowell}!ginosko!simkin
Andover, Mass.  01810  USA     ||       decvax!bu-tyng!ulowell!ginosko!simkin

rws@EXPO.LCS.MIT.EDU (08/07/89)

    But now I'm trying to use a new font (a different alphabet) which has
    important characters stored in slots beyond 0x7f.

You can't use backslash notation for them (although this might be changed
the next release).  But, assuming your file system and your text editor can
deal with 8-bit values, you can just store the 8-bit values directly in the
resource file.