?1. buttonText 灞??ц?劇疆涓???????????棰?????杞介??搴???2绉?宸???
? ? ????锛?uploadify.js 涓?瀵逛嬌??scape()杩?琛?缂???锛???ploadify.swf涓?浣跨??nescape()杩?琛?瑙g??锛?js涓???escape()?規???????SO Latin瀛?绗???瀵規??瀹???瀛?绗?覆杩?琛?缂?????锛?寰????懼?變滑??涓???锛??????ユ??锛??╂??(CJK)?戒???????SO Latin瀛?绗??????㈢????
? ? 瑙e?蟲?規?锛?
? ? A. 淇??規??浠?
? ? 淇???ploadify.js
? ? 灏? if (settings.buttonText) data.buttonText = escape(settings.buttonText);
? ? ?逛負 if (settings.buttonText) data.buttonText = encodeURI(settings.buttonText);
? ? 淇???ploadify.fla
? ? 灏? browseBtn.empty.buttonText.text = unescape(param.buttonText);?
? ? ?逛負 browseBtn.empty.buttonText.text = decodeURI(param.buttonText);?
? ? ?跺?????扮????uploadify.swf骞舵?峰?ラ」??涓?
? ? B. 浣跨??buttonImg ????
? ? ?劇??uttonImg???ㄦ?ヨ?劇疆?劇????????锛???宸卞?????劇??锛?娌$???褰??朵?浼?涔辯??浜?锛?涓?杩?杩?涓??規?锛??????劇ず浼????規???杩???姣?杈??ㄨ???規?A.
?
? ? 2. FireFox涓? 涓?浼??炬????涓?瑙?
? ? ????锛?娌℃??瀹?瑁?Flash??IE???哥????浠?
? ? 瑙e?蟲?規?锛???ireFox涓?瀹?瑁????扮????????IE???哥????浠?
? ?
? ? 3. onQueueFull ?芥?版??绀轟袱娆?
? ? ????锛???ploadify.js涓? 157琛?宸茬?寮瑰?烘??绀猴???浠ュ?ㄩ〉??腑璁劇疆onQueueFull??浼?寮瑰?轟袱娆℃??绀?
? ? 瑙e?蟲?規?锛?灏?uploadify.js涓? alert('The queue is full. ?The max size is ' + queueSizeLimit + '.');???ゆ??灏???绀烘?逛負涓???;
?
? ? 4. uploadify.js涓???涓???涔辯??(涓?淇???ploadify.js涓?浼??虹?拌?绉?????
? ? ????锛?缂???涓?缁?涓?锛?uploadify.js ????TF-8缂???锛?ASP.NET??澧?榛?璁や負GB2312缂???
? ? 瑙e?蟲?規?锛?寮???uploadify.js ?舵坊?? charset="gb2312"
?
? ? 5. 涓?浼?涓?????绉扮????浠舵??Http Error
? ? ????锛???ploadify.swf涓?????tf-8缂???骞朵?浼??劇??锛?ASP.NET榛?璁?B2312缂???
? ? 瑙e?蟲?規?锛?
? ? A. ??ttpHander澶???涓?浼??劇???訛?娣誨?? context.Response.ContentEncoding = System.Text.Encoding.UTF8;
? ? B. ??Web.config 涓?娣誨??濡?涓?浠g??
? ? <globalization fileEncoding="UTF-8" requestEncoding="UTF-8" responseEncoding="UTF-8"/>?
?
? ? 6. ?充?涓?浼????????劇?????ㄦ?澶辯????棰?
? ? ????锛???ploadify.js涓?绗?48琛?,??涓?灞??э?removeCompleted 璇ュ??ч?璁ゅ?間負 true;琛ㄧず???ㄧЩ?や?浼?????????浠?
? ? 瑙e?蟲?規?锛?淇???removeCompleted 榛?璁ゅ?間負 false
?????劇ず涓???
?規?涓?锛?
?????? Uploadify??涓?涓????版??buttonText杩?涓???璁轟???涔??歸?戒?????涓???锛???涓烘??浠跺??s???ㄤ?涓?涓?杞????規???杩?涓????扮???艱漿杩???浜?锛?瑙g?????版?瑰?ㄩ?d釜swf??浠堕??锛???涓??頒唬??锛???浠ヨ??¤礬涓?琛??????涓????幫?缃?涓?寰?灏????幫???buttonImg(?????劇??)锛?杩??朵?瀹??ㄥ??浠ョ?ㄤ?涓??劇???ユ?挎?㈡????浠惰??甯????d釜榛??茬??flash娴?瑙?????锛???瑕?浣???宸辯???劇??涓???涓???锛?杩?涓?灏辮В?充?涓?????????棰?涔?锛?濡???????杩?涓?涓?锛?浣?浼????頒????????劇??涓??㈡??涓????借?插?哄??锛??跺??灏辨???d釜flash??涓???锛??借?插?哄??琛ㄧず榧??????ㄨ???達?杩?涓????村??浠ョ??idth,height?ヨ??淬??杩???涓?涓?????mode瀹???榛?璁ゅ?兼??opaque锛???瀹??規??transparent灏辮?浜?锛?涔?灏辨?????g???借?插?哄?????????????ㄥ????璇寸???規?锛????????瑰?昏???磋?劇疆??璺?浣??劇??涓??峰ぇ灏卞????K浜????
?
?規?浜?锛?
?
uploadify ?т歡??????涓?????澶??借??瑷?锛?杩???浠?缁?濡?浣?淇??瑰??浣垮?舵????澶??借??瑷???
1.jquery.uploadify.v2.1.4.js??浠?70琛?
??浠g??锛?if (settings.buttonText) data.buttonText =?escape(settings.buttonText);
?頒唬??锛?if (settings.buttonText) data.buttonText =?encodeURI(settings.buttonText);
?
2.jquery.uploadify.v2.1.4.min.js??浠?863??
??浠g??锛?if(f.buttonText){g.buttonText=escape(f.buttonText)}
?頒唬??锛?if(f.buttonText){g.buttonText=encodeURI(f.buttonText)}
?
3.uploadify.fla??浠?Scene 1 ??????浠?117琛?
??浠g??锛?browseBtn.empty.buttonText.text =?unescape(param.buttonText);
?頒唬??锛?browseBtn.empty.buttonText.text =?decodeURI(param.buttonText);
?
4.uploadify.fla??浠?Scene 1>empty>buttonText 灞???gt;瀛?绗?gt;绯誨??
???鹼?Helvetica
?闆?鹼?_sans
?
5.uploadify.fla??浠?????Delete)?Scene 1>Helvetica
????澹版??锛?????涓?SDN??涓彙??weixin_34392435??????????绔?锛??靛驚CC 4.0 BY-SA??????璁?锛?杞?杞借?烽??涓??????哄??炬?ュ????澹版????
?????炬?ワ?https://blog.csdn.net/weixin_34392435/article/details/91959996