This content has been marked as final. Show 5 replies
> 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.
I knew it had to be that simple!!!
anyways, this has been plaguing me for a few days now, but I put together this udf, for anyone who has the same problems
> 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?
do you have a simple example showing the problem?
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.
Anyways, solution above. Thanks for your help!
> 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.