|
|
Home » ASP » Article
Decode and Encode UTF-8
|
| Article by: | Hans Kalle (9/2/2006) |
|
| Summary: | When reading and writing xml-files like rss-feeds, one needs to convert data from the Windows character set to UTF-8. This script is all you need. |
|
| Viewed: 104876 times |
Rating (24 votes): |
|
3.8 out of 5 |
|
|
|
Decode and Encode UTF-8
All encoding and decoding is done by the functions in the utf8.asp file:
To test the functions, one can use the code below. Place this code in a separate file, utf8test.asp for example.
|
Select All Code
|
|
Good luck and have fun!
|
|
View highlighted Comments
User Comments on 'Decode and Encode UTF-8'
|
Posted by :
sinan at 12:14 on Saturday, December 08, 2007
|
thank you
| |
|
To post comments you need to become a member. If you are already a member, please log in .
| RELATED ARTICLES |
ASP FilesystemObject by Jeff Anderson
An introduction to the Filesystemobject |
 |
ASP GetTempName by Jeff Anderson
Use the GetTempName method to create a randomly generated temporary file on the server. |
 |
ASP OpenTextFile by Jeff Anderson
An introduction to the OpenTextFile Method of the FileSystemObject |
 |
ASP Format Date and Time Script by Jeff Anderson
An ASP script showing the variety of date and time formats possible using the FormatDateTime Function. |
 |
Email validation using Regular Expression by Jeff Anderson
Using regular expression syntax is an exellent way to thoroughly validate an email. It's possible in ASP. |
 |
ASP FileExists by Jeff Anderson
An introduction to the FileExistsMethod of the FileSystemObject |
 |
Creating a Dynamic Reports using ASP and Excel by Jeff Anderson
A simple way to generate Excel reports from a database using Excel. |
 |
Concatenate strings in sql by Jeff Anderson
A brief introduction to concatenating strings in an sql query (using SQL server or access databases). |
 |
Add or Subtract Hours in SQL or ASP using DateAdd by Jeff Anderson
A beginners guide to using the SQL DATEADD function to add or subtract hours. Particularly useful when setting the time displayed on the ASP page to a different time zone (eg when the server is in the US, and the site is for a UK audience). |
 |
ASP CreateTextFile by Jeff Anderson
An explanation of the CreateTextFile Method, part of the ASP FileSystemObject |
 |
| |