ogre11 wrote:
> how can I convert characters such as "???" to their
unicode numbers
> (1072,1097,1097)? I know it's gotta be so easy, but it's
going over my head.
as long as you're on mx, asc() should return the codepoint
for any char.
ogre11 wrote:
> when I give any Cyrillic character to a cf function it
gets converted into a
> question mark at some point before the function runs so
asc returns 63 on all
> cyrillic characters
encoding issue. where's the data coming from? if db, which
one? what driver? is
the data really unicode?
the question marks were being caused by dreamweaver. it was a
backend cfm script so there was no meta tag, so dreamweaver was
probably saving it as iso-5589-1, when I put in a metatag
charset="utf-8" and then saved closed opened it worked.
ogre11 wrote:
> the question marks were being caused by dreamweaver. it
was a backend cfm
> script so there was no meta tag, so dreamweaver was
probably saving it as
> iso-5589-1, when I put in a metatag charset="utf-8" and
then saved closed
> opened it worked.
a BOM would be a better choice if dreamweaver supports it.