SerializeJSON não codifica caracteres UTF8 no ColdFusion 9
Estou tendo alguns problemas com o ColdFusion e o JSON. Meus usuários têm nomes de arquivos e outras palavras-chave com caracteres comoç
neles, o que está me causando dor quando preciso devolvê-los via JSON.
Quando uso o comando JSON mágico na minha variável:
<cfcontent type="application/json">
<cfset variables.stGalleryItem = StructNew() />
<cfset variables.stGalleryItem["imagePath"] = siteRoot & '/images/350460/hellç.txt' />
<cfset variables.stGalleryItem["title"] = 'çççç' />
<cfset variables.stGalleryItem["author"] = 'HI' />
<cfset variables.stGalleryItem["text"] = 'aa' />
<cfset ArrayAppend(variables.arrGallery,variables.stGalleryItem) />
<cfoutput>
#Trim(SerializeJSON(variables.arrGallery))#
</cfoutput>
O personagem que é cuspido é , o que não é bom para ningué
Existe algo que eu possa fazer para preservar os @ dos meus usuáriç
?