<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Strings on seth-shi</title><link>https://sethix.com/tags/strings/</link><description>Recent content in Strings on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 27 Feb 2018 16:55:26 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/strings/index.xml" rel="self" type="application/rss+xml"/><item><title>imagejpg-imagepng-imagegif Can Generate Images but Fail to Output to Browser</title><link>https://sethix.com/posts/2018022716/</link><pubDate>Tue, 27 Feb 2018 16:55:26 +0800</pubDate><guid>https://sethix.com/posts/2018022716/</guid><description>If your imagejpg, imagepng, or imagegif functions can generate images but fail to display them in the browser, this article will help you resolve the issue.
Initially, I compared a working file with the problematic one and found no visible differences - not even a single character.
Undeterred, I downloaded a text comparison tool. The truth gradually emerged:
Text comparison tool As shown, the left (working) file uses standard UTF-8, while the right (problematic) file uses UTF-8 + BOM.</description></item></channel></rss>