How do I save file in UTF-8 without BOM - HESK.com

文章推薦指數: 80 %
投票人數:10人

Download and install this powerful free text editor: Notepad++ · Open the file you want to verify/fix in Notepad++ · In the top menu select Encoding > Convert to ... BacktoHESK.com HESKKnowledgebase HowdoI... HowdoIsavefileinUTF-8withoutBOM Suggestedknowledgebasearticles: HowdoIsavefileinUTF-8withoutBOM Thebyteordermark(BOM)isaUnicodecharacterthatsometimescausesproblemsinPHPscripts(especiallyinincludes),becauseitcancauseHTTPheaderstobesenttothebrowserprematurely.   TomakesureyourPHPfilesdonothavetheBOM,followthesesteps: Downloadandinstallthispowerfulfreetexteditor:Notepad++  Openthefileyouwanttoverify/fixinNotepad++  InthetopmenuselectEncoding>ConverttoUTF-8(optionwithoutBOM)  Savethefile   That'sit,youshouldnowhaveavalidfileinUTF-8encodingwithoutthebyteordermark. Wasthisarticlehelpful? Yes | No ArticleDetails ArticleID: 87 Category: HowdoI... Rating: Goback Relatedarticles HowdoItranslateHESK? Howtocustomizeemailsubjects HowdoIcustomizeHESKtext? HowdoIallowIframesinKnowledgebasearticles? HowcanImodifyemailssentbyHESK?



請為這篇文章評分?