NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 06, 2014, 06:36:44 AM

Title: Form characters weird case
Post by: Alberto on March 06, 2014, 06:36:44 AM
I code:
  s_web._SitesQueue.Defaults.StoreDataAs = net:StoreAsSpanish
in the Init of the WebServer proc

All forms respect that but one form that I call directly (not from a browse) does not.

Any Idea?
Title: Re: Form characters weird case
Post by: Bruce on March 06, 2014, 09:50:55 PM
I suspect you are doing something wrong.
Title: Re: Form characters weird case
Post by: Alberto on March 07, 2014, 11:17:29 AM
I dont know what...
Is it wrong to add

s_web._SitesQueue.Defaults.StoreDataAs = net:StoreAsSpanish

?

must I add it in the form itsel? where?

thanks
Title: Re: Form characters weird case
Post by: Bruce on March 07, 2014, 08:54:04 PM
Given that you have a problem only on one form, I'd look for the error there. Also I'd set the save-as via the template, not embed code. And of course you're whole assessment that it's not working also needs verification.
Title: Re: Form characters weird case
Post by: Alberto on March 09, 2014, 04:24:04 AM
I need to change it in embed code because I need to change it for each user language.
At the same time, may be one user use Spanish and another uses English or Polich or...
In which WebHandler embed must I change it?
Thanks
Title: Re: Form characters weird case
Post by: Bruce on March 09, 2014, 05:19:58 AM
are you planning to do this by _user_ (on one server?) or from one server install to the next.

you can't set it per user, because this dictates how the data is stored in the tables. Unless each user has their own data tables?

cheers
Bruce
Title: Re: Form characters weird case
Post by: Alberto on March 09, 2014, 05:53:41 AM
For each user in the same database.
Problem is I type á , save, and when I fetch the record it is repaced by á
As charater set I have 'ISO-8859-1'
May be is the charater set what I need to change by user? and not the save as?
I dont get it very well...
Thanks