> I thought this may be to do with retrieval of data form
the database (Oracle
> 8.1.7), however the boxes also appear from hardcoded
text within the template
> e.g.
If you have the characters hard-coded in the template, then
all you
definitely need the <cfprocessingdirective> tag on the
template too (on the
actual template itself, not in Application.cfm or another
"upstream"
template, it needs to be in every template that has UTF-8
data in it). It
also needs to be within the first 10 (?) lines of code on the
template, by
some account that I read somewhere.
However that tag has no impact other than the text in the
template file
itself (ie: it's not part of the solution for DB-oriented
issues).
If the stuff is coming from the DB, all you should need to do
is to tell
the browser that it's UTF-8, as per the <meta /> tag
you mention.
Are you sure the data in the DB *is* UTF-8, and not some
other encoding
scheme? How is the stuff getting into the DB?
Notes:
- If you are passing UTF-8 stuff around on the URL or via
forms, then you
need to use setEncoding() to make that work.
- And if you're writing to file (with <CFFILE>), you
need to use the
CHARSET attribute of that.
--
Adam