ASC2UTF8 is a small utility to convert some special characters from ASCII to UTF-8.

ASC 2 UTF-8 Converter

In preparing, with some frequency, texts to include in php scripts, came the need to write this utility in Gambas2.

When working with two or more languages ​​to echo in HTML environments, write special characters can be an interesting challenge. Using a META tag <meta http-equiv=Content-Type content="text/html; charset=UTF-8"> and a conversion table for UTF-8 can be a good solution (resulted at least with me). The utility ASC2UTF8 only converts some special characters, those who actually need to convert me faziam. The code-fonte can be easily changed to other special characters.

Tags: , ,