云流

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1817|回复: 0

System.useCodepage

[复制链接]
抢楼 抢楼 本帖为抢楼帖,欢迎抢楼! 
发表于 2013-6-9 14:25:36 | 显示全部楼层 |阅读模式
可用性
Flash Player 6
Flash Media Server MX(不是必需的)
用法
public static useCodepage : Boolean
描述
public static useCodepage : BooleanFlash Media Server ActionScript代码中设置了System.useCodepage
= true
描述Flash Media Server以UTF-8格式发送文本。如果你在你的ActionScript代码中设置了System.useCodepage= true的话,则你的通讯应用程序可能无法正常工作。值true将导致Flash Player把所有的文本都视为基于终端用户的代码页,就像在Flash Player的早期版本中那样。但不管怎么说,Flash Player将依然会发送UTF-8编码的文本到Flash Media Server,并且所有从这个服务器接收的文本也都是UTF-8编码的。在一个Flash Media Server应用程序中设置System.useCodepage = true将很可能会导致不可预期的行为并产生巨大的阻碍。例如,文本可能无法适当的发送到服务器和从服务器接收。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|点播全平台|Player|Admin|播放器|kd|P2PCONF|小黑屋|手机版|Archiver|直播面试|网络电视|云流科技 ( 蜀ICP备2025132645号 )

GMT+8, 2025-5-6 19:55 , Processed in 0.062155 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2016 Comsenz Inc.

快速回复 返回顶部 返回列表