Things to do in Cape Town, the Helderberg, and the Cape Winelands

Tag string encoding

FPDF: How to use a Degree Symbol in a Generated PDF

I’ve been using the FPDF PDF generator library for years now as the de facto method for my PHP projects to produce PDF reports. However, one minor annoyance is that the generated PDF files often falter when it comes to the… Continue Reading →

How to Convert an UTF-16 File to an UTF-8 file using PHP

Taking Andrew Walker’s previously mentioned handy little UTF-16 to UTF-8 string converter function, we now have in our means a particularly easy way in which to craft a simple UTF-16 to UTF-8 file converter.

© 2021 An Exploring South African — Powered by WordPress