Interesting,

I was under the impression that CF kept strings as they are, I knew there
was a bug with it and webservices which the 7.02  addressed and fixed.

But I use fmx 7.01 here and return strings and out put strings all the time
without CF changing the case. So maybe there was a bug in 7.01 and Hash MD5.

<cfset test = "Andrew" />
<cfoutput>#test#</cfoutput>

expeted output
Andrew
result
Andrew

however, if I was to do this.

<cfset myStruct = StructNew() />
<cfset myStruct.Test = "Anything" />

Although the string will remain in its case, if I want to output the node of
myStruct it will be returned upper case, which for me is damn annoying with
JSon and JS not liking it.

Speaking of JS, can anyone tell me the best way to set a variable to JS from
CF using JSon that didn't care about case.

For example psuedo code

<script>

 var TestVar = '';
 function test(/* JSon array */ data ) {
  lcase(TestVar) = lcase(data);
 }
</script>

haven't looked at anything yet, but was hoping someone might have something
off the top of your head;-)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259746
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to