As seen in the 'CDATA' part, the data is stored wrongly in the database.
I have not played around with codepage or anything in the MsSQL database.
In another form i use the 'RecordService_RecordApproved' event to catch the approving of a form, and send the data to a webservice, the webservice receives 'æøåÆØÅ !"#¤%&/()=üäëi¨c' perfectly, but if i look at the entries or directly in the database, the have changed to 'aoaAOA' :-(
Any clues anyone?
I updated to the newest version of Contour yesterday, V 1.1.6 by extracting the 'update' zip file.
I am pretty sure you are right, just tried to change the data directly in the database UFRecordsXml table, it actually get's changed back to 'aoa' instead og 'æøå'
What should the SQL Collation be set to as default?
At the moment it is <database default> which is 'SQL_LATIN1_General_CP1250_CI_AS'
Danish letters in Textarea
Hi there
I have a strange problem with the danish letter æøå in both lower and uppercase.
When i in an Contour form in a textarea enter:
æøåÆØÅ !"#¤%&/()=üäëi¨c
It show up as the following in Entries:
aoaAOA !"#¤%&/()=üäëi¨c
For some weird reason it is only the danish chars that are changed, not the other ones.
The database record in UFRecordsXml is:
As seen in the 'CDATA' part, the data is stored wrongly in the database.
I have not played around with codepage or anything in the MsSQL database.
In another form i use the 'RecordService_RecordApproved' event to catch the approving of a form, and send the data to a webservice, the webservice receives 'æøåÆØÅ !"#¤%&/()=üäëi¨c' perfectly, but if i look at the entries or directly in the database, the have changed to 'aoaAOA' :-(
Any clues anyone?
I updated to the newest version of Contour yesterday, V 1.1.6 by extracting the 'update' zip file.
Comment author was deleted
Thats's strange it's the first report we get of this and I could imagine that it has been used for a lot of danish sites by now, will try to reproduce
I am pretty confused as well ;-)
If I can help you somehow, by providing more information, data/files or anything, or you have something i should test, i will gladly help.
Comment author was deleted
Just tested it on a local install and it worked fine, so think it might be an issue with the database settings
I am pretty sure you are right, just tried to change the data directly in the database UFRecordsXml table, it actually get's changed back to 'aoa' instead og 'æøå'
What should the SQL Collation be set to as default?
At the moment it is <database default> which is 'SQL_LATIN1_General_CP1250_CI_AS'
Any idea's what settings could do this?
Tim
Any ideas on what to do?
Or if I need to change anything in the DB ?
Just found the bug.
I added a nvarchar(50) to the table, and æøåÆØÅ worked perfectly.
Then i changed the XML column in UFRecordsXml from 'Text' to 'nText' and it works as well.
Guess the old version of Contour we started to use, has the column type set wrongly. :-)
is working on a reply...