Re: Encoding Problems with WOLips
Peer Sandtner <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
WebObjects uses the .woo-file to determine the encoding of the html-
component. When you set the encoding to NSUTF8StringEncoding it
should work.
example .woo-file:
{
"WebObjects Release" = "WebObjects 5.0";
encoding = NSUTF8StringEncoding;
variables = {};
}
I would further recommend to set the WOMessage encoding to UTF-8
using WOMessage.setDefaultEncoding("UTF-8") in the Application-
Constructor.
Regards,
Peer
PS: There is an related open Bug in WOLips: http://
issues.objectstyle.org/jira/browse/WOL-119
Am 04.01.2007 um 11:47 schrieb Helmut Schottmüller:
> Hi,
>
> I am using WOLips and Eclipse for my WO development. Everything in
> Eclipse is set to UTF-8 character encoding. But when I use special
> chars like german umlauts in the .wo files, the output (when I
> start it with Run As... WOApplication is somehow corrupted. I've
> checked the .wo files in the filesystem (opened the package and
> checked the encoding which is UTF-8 too) but when I execute my
> code, the output of the special characters from the .wo files are
> corrupted.
> Are there any WO configuration options where I have to tell WO
> manually to use the character encoding? Anyone has a clue?
>
> Regards,
>
> Helmut_______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>