Ian Vaughan wrote:
>
> Could a filter be run when adding data to the database with Coldfusion
> to ensure that the correct charset is entered ???
I'm sure it is possible, but I have never needed it and I
wouldn't know how to write or where to get a filter.
> The text looks like the snippet bel
> years
"[]" mean the browser can't render that char, "?" mean the text is garbaged.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
> It is, and unless you override it somewhere you shouldn't need to
> use it.
perhaps but its good practice. don't be shy about declaring encoding.
> >
>
> The second one is uncessary, the one in the HTTP headers takes
> precedense.
yes but there are critters out there that sometimes can't figu
field for entry
into the database it would display like the snippet below when viewing
through Coldfusion
This is a great opportunity
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 14:40
To: CF-Talk
Subject: Re: Coldfusion & UNIC
Does the data in the database saved in its proper charset?(COLLATE)
-Original Message-
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 9:34 AM
To: CF-Talk
Subject: RE: Coldfusion & UNICODE Characters
Just tried the following in the page temp
Ian Vaughan wrote:
> Just tried the following in the page template
>
>
>
>
>
> and the text returned from the database is still like
>
> years
In which charset was the data entered in the database and which
charset does the database use internally? Could it be that data
in the datab
Ian Vaughan wrote:
>
> I used utf-8 in my templates even though that its standard to MX ???
It is, and unless you override it somewhere you shouldn't need to
use it.
>
>
The second one is uncessary, the one in the HTTP headers takes
precedense.
> but it some characters are still displ
Hi,
As a matter of interest, what encoding do you have your browser set to?
Ian
-Original Message-
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 14:34
To: CF-Talk
Subject: RE: Coldfusion & UNICODE Characters
Just tried the following in the page temp
Just tried the following in the page template
and the text returned from the database is still like
years
From: Hua Wei [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 14:31
To: CF-Talk
Subject: RE: Coldfusion & UNICODE Characters
Ian,
try
Ian,
try on top of your
templates
Hua
-Original Message-
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 9:26 AM
To: CF-Talk
Subject: RE: Coldfusion & UNICODE Characters
I was only using 'iso-8859-1' as an example (sorry to confuse you!)
I
lto:[EMAIL PROTECTED]
Sent: 04 August 2004 14:15
To: CF-Talk
Subject: Re: Coldfusion & UNICODE Characters
Ian Vaughan wrote:
> Ive tried the following at the top of the template, but it still
displays the square character on certain characters such as ' " -
>
>
>
I
Ian Vaughan wrote:
> Ive tried the following at the top of the template, but it still displays the square character on certain characters such as ' " -
>
>
>
ISO-8859-1? You are in the UK but you are trying to use a charset
that doesn't even have the euro symbol?
Bite the bullet and conve
> Why shouldnt you need to remove Unicode characters ??
why remove them? there isn't anything "wrong" with unicode chars in a text
stream. i use unicode all the time, its our standard.
> As you will encounter non-standard characters. The most common example is
an accent in someone's name, such as
> Hi
> How can I remove UNICODE characters from Coldfusion, is
> there a
> script/custom tag I can include to ensure that characters
> such as
> ' " - etc are displayed correctly and not as * * *
No guarantees that users won't insert other characters in your forms,
but don't use nchar, nvarchar,
Ive tried the following at the top of the template, but it still displays the square character on certain characters such as ' " -
From: Hugo Ahlenius [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 11:10
To: CF-Talk
Subject: RE: Coldfusion
| As you will encounter non-standard characters. The most
| common example is an accent in someone's name, such as José
| or Jürgen, but another example is "smart quotes" inserted by
| Word. that will display on screen as the 'black outline
| square character'
|
| Is this problem only relevant to C
'black outline square character'
Is this problem only relevant to Coldfusion MX ? as you mentioned it depends on how your server is set up ?
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 10:31
To: CF-Talk
Subject: Re: Coldfu
> How can I remove UNICODE characters from Coldfusion, is there a
> script/custom tag I can include to ensure that characters such as
> ' " - etc are displayed correctly and not as * * *
well that's more of case of how your app/server is setup (at least as far as
mx goes). you really shouldn't *ne
18 matches
Mail list logo