Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
shoalwater #1
cf structure and unicode data
Hello,
Has anyone tried storing unicode characters in a cf structure? I have a
structure in which I'm trying to store Japanese unicode characters and always
get ??? when I dump the values. I can't seem to find a charset property or
anything. Is this just a limitation of structures? Any help would be
appreciated!
Thanks,
Amy
shoalwater Guest
-
Unicode Data and Database
Dear Friends, I have a database which contains records in Unicode format. I access my this database (which is MS Access database) in ASP by using... -
XML-Structure and Panel Data
Hallo, I want to create a panel in InDesign that helps me to insert or modify an element and its attributes at once. With this I try to avoid doing... -
what is this data structure?
Hi, I don't know how to work with this data structure: my @array = ((a => 'appple'), (b => 'tree'), (c => 'chair')); when I do: -
What would be the best data structure to keep these values
Hi people, I want trap the results of 'ps -ef' command. I first trap the results by splitting the results in scalar values such as $uid $pid... -
data structure help
"slash" <satishi@gwu.edu> wrote in message news:30fe9f1e.0308081032.a1b045f@posting.google.com... I suspect that the reason why your posting has... -
PaulH #2
Re: cf structure and unicode data
i do that all the time. what version of cf? how is the data getting into the structs? i imagine that data might already be corrupted if its showing up as ??.
PaulH Guest
-
shoalwater #3
Re: cf structure and unicode data
Ah! You are right it does work. I couldn't tell because the struct is
created, then next page loads the struct with ??? where the double byte chars
should be. Since I'm not bashing on the struct anymore, I have found the
likely cause of the problem. The struct is serialized and stored in the client
scope which is written to a sql server database (not unicode) and deserialized
(sans my unicode characters) and loaded on the following page. I've updated
the datatype for the field that stores unicode chars, now I just have to figure
out how to get ColdFusion to use n'' notation when inserting client variables
to the database, so the characters aren't lost.
Thanks for getting me unstuck. I couldn't see past the structure...
shoalwater Guest
-
PaulH #4
Re: cf structure and unicode data
i imagine you'll have to do the client thing on your own. i don't recall seeing
any way to modify cf's client sql (but i'll look around). i would also suggest
that perhaps using a lot of client vars might not be such a good practice.
PaulH Guest



Reply With Quote

