日期:2014-05-16  浏览次数:20488 次

急!!! 转换成UTF8后出现"未结束的字符串常量".
将PHP文件GBK转换成UTF8后出现 "未结束的字符串常量 "和 "缺少 '} ' "错误提示。
程序是调用tinyMCE编辑器,不懂JSP啊,请大师帮忙!

tinyMCE程序文件(tiny_mce.js等)都是以UTF8编码的啊。

echo   ' <script   language= "javascript "   type= "text/javascript "   src= "./tiny_mce/tiny_mce.js "> </script> ';
        }

echo   ' <script   language= "javascript "   type= "text/javascript ">
                    tinyMCE.init({

                        cleanup   :   true,
                        auto_cleanup_word   :   true,
                        language:   "en ",
                        verify_html   :   false,
                        relative_urls   :   true,
                        document_base_url   :   " '   .   $sdurl   .   ' ",
                        remove_script_host   :   false,
                        mode   :   "specific_textareas ",
                        textarea_trigger   :   "wysiwyg ",
                        theme   :   "advanced ",
                        theme_advanced_layout_manager   :   "SimpleLayout ",

                        modules   :   "advhr,advimage,advlink,contextmenu,flash,imagemanager,insertdatetime,print,searchreplace,smilies,style,table ",

                        theme_advanced_buttons1   :   "code,print,separator,formatselect,fontselect,fontsizeselect,separator,forecolor,backcolor,bold,italic,underline,styleprops,removeformat ",
                        theme_advanced_buttons2   :   "justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,search,replace,separator,inserttime,insertdate,separator,charmap,smilies,flash,advhr,separator,link,unlink,anchor,separator,image,imagemanager ",
                        theme_advanced_buttons3   :   "newdocument,separator,undo,redo,separator,cut,copy,paste,separator,cleanup,separator,tablecontrols,visualaid ",

                        theme_advanced_toolbar_location   :   "top ",
                        theme_advanced_toolbar_align   :   "left ",