0
Save and show Strings from all users. /ASP
Explorer
,
/t5/dreamweaver-discussions/save-and-show-strings-from-all-users-asp/td-p/972466
Apr 28, 2008
Apr 28, 2008
Copy link to clipboard
Copied
Hi,
I wonder if someone can help or advise , Im using DW CS3 and have a few forms that are on asp pages.
These forms take a users input and save it to a database then display it on another page if needed.
This is all fine except when a user outwith the UK enters something and seem to add odd chars into the text boxes or accents from french input or apostrophies that differ from UK keyboards....
Is there a generic setting or similar that I can add to my pages to save and show anything from anyone?
Am I missing anything? I use charset=UTF-8 on all of my pages.
Do I need to run a replace function on every text box / area that takes input?
If I need to use a replace function Can someone advise on this as I have tried this a little with not much success...
Or is there something in DV im missing that can aid me?
Thanks again
W
I wonder if someone can help or advise , Im using DW CS3 and have a few forms that are on asp pages.
These forms take a users input and save it to a database then display it on another page if needed.
This is all fine except when a user outwith the UK enters something and seem to add odd chars into the text boxes or accents from french input or apostrophies that differ from UK keyboards....
Is there a generic setting or similar that I can add to my pages to save and show anything from anyone?
Am I missing anything? I use charset=UTF-8 on all of my pages.
Do I need to run a replace function on every text box / area that takes input?
If I need to use a replace function Can someone advise on this as I have tried this a little with not much success...
Or is there something in DV im missing that can aid me?
Thanks again
W
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/save-and-show-strings-from-all-users-asp/m-p/972467#M137470
Apr 28, 2008
Apr 28, 2008
Copy link to clipboard
Copied
webstaffuk wrote:
> Hi,
> I wonder if someone can help or advise , Im using DW CS3 and have a few forms
> that are on asp pages.
>
> These forms take a users input and save it to a database then display it on
> another page if needed.
>
> This is all fine except when a user outwith the UK enters something and seem
> to add odd chars into the text boxes or accents from french input or
> apostrophies that differ from UK keyboards....
>
> Is there a generic setting or similar that I can add to my pages to save and
> show anything from anyone?
> Am I missing anything? I use charset=UTF-8 on all of my pages.
>
> Do I need to run a replace function on every text box / area that takes input?
> If I need to use a replace function Can someone advise on this as I have tried
> this a little with not much success...
>
> Or is there something in DV im missing that can aid me?
>
> Thanks again
It might be the datatype you are using for the column in your database.
What are you using?
Steve
> Hi,
> I wonder if someone can help or advise , Im using DW CS3 and have a few forms
> that are on asp pages.
>
> These forms take a users input and save it to a database then display it on
> another page if needed.
>
> This is all fine except when a user outwith the UK enters something and seem
> to add odd chars into the text boxes or accents from french input or
> apostrophies that differ from UK keyboards....
>
> Is there a generic setting or similar that I can add to my pages to save and
> show anything from anyone?
> Am I missing anything? I use charset=UTF-8 on all of my pages.
>
> Do I need to run a replace function on every text box / area that takes input?
> If I need to use a replace function Can someone advise on this as I have tried
> this a little with not much success...
>
> Or is there something in DV im missing that can aid me?
>
> Thanks again
It might be the datatype you are using for the column in your database.
What are you using?
Steve
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
webstaffuk
AUTHOR
Explorer
,
/t5/dreamweaver-discussions/save-and-show-strings-from-all-users-asp/m-p/972468#M137471
Apr 28, 2008
Apr 28, 2008
Copy link to clipboard
Copied
Hi Steve,
They get entered as 'adVarWChar' generally these fields are for names and similar strings.. sometimes i have them as memo fields in the database and they are set to go in as 'adLongVarWChar'
Regards
They get entered as 'adVarWChar' generally these fields are for names and similar strings.. sometimes i have them as memo fields in the database and they are set to go in as 'adLongVarWChar'
Regards
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/save-and-show-strings-from-all-users-asp/m-p/972469#M137472
Apr 28, 2008
Apr 28, 2008
Copy link to clipboard
Copied
webstaffuk wrote:
> Hi Steve,
> They get entered as 'adVarWChar' generally these fields are for names and
> similar strings.. sometimes i have them as memo fields in the database and they
> are set to go in as 'adLongVarWChar'
>
> Regards
>
What database are you using? What is the collation of your database set to?
Steve
> Hi Steve,
> They get entered as 'adVarWChar' generally these fields are for names and
> similar strings.. sometimes i have them as memo fields in the database and they
> are set to go in as 'adLongVarWChar'
>
> Regards
>
What database are you using? What is the collation of your database set to?
Steve
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
webstaffuk
AUTHOR
Explorer
,
/t5/dreamweaver-discussions/save-and-show-strings-from-all-users-asp/m-p/972470#M137473
Apr 28, 2008
Apr 28, 2008
Copy link to clipboard
Copied
Hi Steve Its an Access 2003 database, Not sure where to find
out what the collation is can you guide me as to where to
look?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/dreamweaver-discussions/save-and-show-strings-from-all-users-asp/m-p/972471#M137474
Apr 28, 2008
Apr 28, 2008
Copy link to clipboard
Copied
webstaffuk wrote:
> Hi Steve Its an Access 2003 database, Not sure where to find out what the collation is can you guide me as to where to look?
Ahh, I don't think Access databases use it the same as MS SQL or MySQL.
Do you know the difference between varchar and nvarchar data types? If
your using UTF-8 and wanting to store extended information then you
should be using nvarchar. The N means it stores 2 bytes of information,
not 1, per character.
Thats assuming these data types even exist in Access 2003...I don't have
it so can't really help on that.
Steve
> Hi Steve Its an Access 2003 database, Not sure where to find out what the collation is can you guide me as to where to look?
Ahh, I don't think Access databases use it the same as MS SQL or MySQL.
Do you know the difference between varchar and nvarchar data types? If
your using UTF-8 and wanting to store extended information then you
should be using nvarchar. The N means it stores 2 bytes of information,
not 1, per character.
Thats assuming these data types even exist in Access 2003...I don't have
it so can't really help on that.
Steve
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

