我想在我的ColdFusion程序中使用分號。它看起來是ascii 155.函數Chr()只能解釋127以下的值,儘管文檔中另有說明。我發現了一個線索,我可能需要在ColdFusion管理員中啓用高級ASCII字符,但我找不到這樣做的地方。此代碼的作品:ColdFusion CHR()不能使用高ASCII字符
<cfset x = Chr(127)>
<cfoutput> this is what you get with #x# </cfoutput>
我收到一個不錯的包裝盒。但是這隻返回一個空格:
<cfset x = Chr(155)>
<cfoutput> this is what you get with #x# </cfoutput>
如何讓Chr()使用更高的數字?