Thanks for the input on the console outputting garbage. Once I ignored the
console and started write the sysouts back to the web page for debugging, I
found out the the sql looks good I am just not fetching the record. If I run
this sql statemnet from with eclipse database tool, select * from dbo.Dealer
where DealerNumber = 'DLR_LŸON'. I fetch a record.

>From WebObjects no record.
This is the sysout from the EOFetchSpecification -  dealernumber =
'DLR_LŸON'

The database is MSSQL 2008 R2, I added
"characterEncoding=UTF-8&characterSetResults=UTF-8"  to the connection
string. Any other ideas?

On Thu, Sep 2, 2010 at 1:48 PM, Pascal Robert <[email protected]> wrote:

> Did you change the file encoding in Eclipse? By default, it's using the
> system encoding, so on OS X, it's MacRoman... You can change the default
> encoding by closing Eclipse, and open the bundle /Applications/Eclipse
> (right click -> show package content) and edit Contents/MacOS/eclipse.ini to
> put that line :
>
> -Dfile.encoding=UTF-8
>
> Save eclipse.ini, reopen Eclipse and all files will now be on UTF-8. And
> it's normal to use garbage in Eclipse's console.
>
> We are adding multi language support to one of our applications. We are
> currently running on OSX 10.5, Eclipse 3.3, WOLips 3.3.4906. I create a new
> project using the WonderApplication template and enter a value of DLRŸ in a
> WOTextField, the value of the variable in java is DLR?.
>
> I have a laptop running 10.6, Eclipse 3.5, WOLips 3.5.6066. If I run the
> same code then the value when i system.out is DLRŸ. Before I inform the
> management that I need to upgrade the developer machines to intel machines (
> we currently have G5 Mac  Pro) and have operations create a tomcat instance
> that has Java 1.6, is there something I am missing in my current
> configuration.
>
> The current app uses UTF-8 text file encoding properties and the web page
> headers are as follows
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
>
> When I create a app using the wizard, the doctype was <!DOCTYPE HTML PUBLIC
> "-//W3C//DTD HTML 3.2//EN"> on both the Leopard and Snow Leopard versions.
>
> Any help will be appreciated.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>
> This email sent to [email protected]
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to