Generally you would require to change your MySQL collation in order to solve any problems with foreign character encodings. The very common step that can be taken here is to change your MySQL collation from latin1 to utf8. The same can be changes by using phpMyAdmin and the by following the below mentioned steps :
1. First you need to login to your cPanel account provided with your web hosting account and then click on phpMyAdmin icon located in the Database Box.
2. Now you need to select the Database you would want to manage from the drop down menu located on the left.
3. Then click on the Operations tab in the top menu of your phpMyAdmin
4. Once you click on Operations you will see at the bottom of the page the collation option. You need to now select a collation from the drop down menu and click on the Go button.
Please be informed that after you change the collation of a database only the new tables will be created with the new collation. All the other tables will remain with the collation, they were initially created with.
GD library is an open source code library for the creation of images dynamically by the programmers. It can create many types of images which includes formats like PNG, JPEG, GIF and WBMP. In general GD is used to create charts, thumbnails, graphics and many more.
GD is designed in ANSI C programming language, however it can interface with many other programming language. This software is a developed by
Thomas Boutell .It originally was designed for GIF draws, however since the revoking of Unisys license it stood for “Graphics draw “in general.
It is a very easy to use software and can be used for variety of graphics functions such as lines, arcs, text (using selected fonts), creating the images with other images and multiple colors. The latest versions support for truecolor images, alpha channels, and resampling as well and it also support various other features.
As stated earlier it is created in ANSI C language and it supports languages such as C, PHP, Perl, Python, OCml, Tcl, Pascal, GNU Octave, REXX, and Ruby. It has an added tool “Fly” command line interpreter which allows image creation using GD. This helps in writing scripts in any language and run it using Fly
Mostly GD is used with PHP, and it has moved to libgd.org.