Re: char set (again)
Re: char set (again)
- Subject: Re: char set (again)
- From: Chuck Hill <email@hidden>
- Date: Thu, 01 May 2003 10:20:43 -0700
- Organization: Global Village Consulting, Inc.
Ricardo Strausz wrote:
>
On the other hand, I did not understud the second...
How do I construct the URL by hand?
It is just a java.lang.String. Consult your JDBC driver documentation
to determine the proper format and contents. Once you have that
figured out, look here for the code to get your EOModel to use it:
http://www.omnigroup.com/search-bin/webobjects-dev?Search=ModelAddedNotification
Chuck
On miircoles, abri 30, 2003, at 17:35 America/Mexico_City, Chuck Hill
wrote:
Dino,
I'm not sure what you are asking. I'm not aware that EOModels have a
character set. Unless you want to use these characters for attribute
names. In that case, I have no idea. :-)
Or do you mean that you want to add an additional entry to the JDBC
URL so
that the database handles the code page conversion correctly? You
might be
able to do this by opening the EOModel, selecting the root node, and
opening the inspector. You can add new key (sybaseClientCharacterSet) /
value (cp850) pairs there. That might do the right thing. Or that might
do the same thing as what you have already tried.
Otherwise you can construct the JDBC URL by hand and update the
connection
dictionary in the EOModel as it is loaded.
Sorry, not much help here.
Chuck
At 05:03 PM 30/04/2003 -0600, Ricardo Strausz wrote:
Does some one know how to change the character set of an eomodel??
Any help will be very welcome
In previous versions of EOF (e.g. 1.0), the .eomodel was a flat file.
If one added, in the connection dictionary, a line like
sybaseClientCharacterSet = cp850;
(I am using sybase 10.5)
one changed the char set... since my users are Mexicans, they nead to
use some characters as q,i,| and other accented ones.
I tried to do this in the flat-file inside the boundle .eomodel but it
did not work.
Any Idea?
Dino
http://homepage.mac.com/strausz
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.