Solution to WOBuilder / XCode encoding problem FIXED!
Solution to WOBuilder / XCode encoding problem FIXED!
- Subject: Solution to WOBuilder / XCode encoding problem FIXED!
- From: ".::welemski::." <email@hidden>
- Date: Thu, 2 Mar 2006 19:18:46 +0800
Hi,
I have been using XCode 2.1 for a while now.
XCode 2.1 for me needs improvements specially for us newbies.
I am not ready yet to switch to XCode 2.2 although it is an improvement
for XCode 2.1 i still say as a new I might encounter problem which might not
ready to yet. :D
Anyways.... this is how I solved my problem regarding the encoding issues....
1.Open all the affected components in XCode.
2.For those affected component, check the "ComponentName.woo" if it
has a content.
3. Make sure the content looks like this:
{
"WebObjects Release" = "WebObjects 5.0";
encoding = NSMacOSRomanStringEncoding;
variables = {};
}
By changing the encoding value to "NSMacOSRomanStringEncoding"
WOBuilder now knows what encoding to use when openent the component.
Now for completely removing those annoying "Chinese" characters make
sure that your
"ComponentName.api" has these following content;
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wodefinitions>
<wo wocomponentcontent="false" class="Main">
</wo>
</wodefinitions>
make sure that -----> encoding="UTF-8" exists... this willl tell XCode
what encoding to use when you're going to edit in XCode.
That's all folst... :D
hope this helps....
--
-- -- -- -- -- -- -- -- -- -- --
welemski
-- -- -- -- -- -- --
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden