Ken,
Thanks for the answers. Of course, this leads to more questions:
1) I have disassembled a .rsrc file successfully, edited it and tried to
compile it. It gives me no error, but does not seem to create a .rsrc file.
2) When I try to make using the .r file instead of the .rsrc file (added .r
to file mappings as TEXT) I get link errors "Error while creating/copying
resource fork" and "Error while saving resources"
Thanks for the help.
Steve O.
-----Original Message-----
From: Ken Krugler [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 23, 2000 11:36 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Japanese
At 12:00am -0800 00-12-23, Palm Developer Forum digest wrote:
>Subject: Japanese Questions
>From: "soulig" <[EMAIL PROTECTED]>
>Date: Fri, 22 Dec 2000 09:29:07 -0500
>X-Message-Number: 8
>
>1) How can I enter Japanese text in the constructor without having to enter
>hex codes?
>
>2) How can I create Japanese text file resources (.r files?) and compile
>them into .rsrc files?
Which was followed shortly thereafter by a very similar post...
At 12:00am -0800 00-12-23, Palm Developer Forum digest wrote:
>Subject: Japanese
>From: Rick Gadbois <[EMAIL PROTECTED]>
>Date: Fri, 22 Dec 2000 11:12:22 -0500
>X-Message-Number: 12
>
>I am attempting to convert a program into Japanese and have a couple
>questions.
>1) How do you enter Japanese text in the constructor without having to
enter
>hex codes? Doesn't work with japanese keyboard.
I believe there are still problems with using Constructor on Windows
with Japanese. I'm on a Mac, and Constructor + Japanese Language Kit
works fine.
>2) How do you create Japanese text file resources (.r files?) and compile
>them into .rsrc files?
Take your English .rsrc files, disassemble them into .r files, and
then add these to your project. Make sure that the Rez panel
character encoding option is set to 'Japanese'.
To disassemble a .rsrc using CodeWarrior, select the project target
that actually includes the .rsrc file (not a simulator build), and
then pick Rez as the compiler for resource files in the "File
Mappings" pref panel for CodeWarrior. You'd also want to enter
UIResDefs.r as the prefix in Rez's pref panel. Then hilight the .rsrc
file in your project and select the Disassemble command from the
Project menu.
>3) Palm_rc - I have heard of this and that it acts upon a text file (.r)
and
>creates a resource file. Do I have the name right? Does it exist? Where
>can I get it?
There might have been some talk at PalmSource about a future resource
compiler that would be called something similar to 'Palm_rc'. There's
the pilrc resource compiler used as part of the GCC toolchain. I
think Neil Rhodes created a plug-in version of this for CodeWarrior.
I don't know if it correctly handles Japanese text - probably not,
since text measurement (for menus/pop-up triggers, and to support
pilrc's label alignment stuff) requires a Japanese font & knowledge
of how to use it.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/