Converting UTF-8 characters to ISO

This is a discussion on "Converting UTF-8 characters to ISO" within the JavaScript Forum section. This forum, and the thread "Converting UTF-8 characters to ISO are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 19th, 2008, 17:00
New Member
Join Date: Mar 2008
Location: boston
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Converting UTF-8 characters to ISO

I'm working with a web service that requires all data submited to be in ISO-8859-1. My web site and all it's functionality are in UTF-8. Does anyone know of a library or function that I can use to convert a string of UTF-8 characters into ISO-8859-1? The gist of the process is that I place the string into a variable they provide as a hook and they take it, process it, and send the request off to their own web service.
Thanks
Reply With Quote

  #2 (permalink)  
Old Mar 19th, 2008, 21:45
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 942
Blog Entries: 8
Thanks: 2
Thanked 22 Times in 22 Posts
Send a message via AIM to CloudedVision Send a message via MSN to CloudedVision Send a message via Skype™ to CloudedVision
Re: Converting UTF-8 characters to ISO

i wouldn't rely on javascript. If somebody has it turned off they won't be able to submit anything.....
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
Reply With Quote
  #3 (permalink)  
Old Mar 23rd, 2008, 22:40
Junior Member
Join Date: Oct 2007
Location: Sweden
Age: 29
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting UTF-8 characters to ISO

CloudedVision; he's right; maybe you should take a look at the posts in this link :
http://se2.php.net/utf8_decode

maybe that can help you...
Reply With Quote
Reply

Tags
encoding, iso, utf-8

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read First 3 characters and last 4 characters of string JustinStudios PHP Forum 2 Apr 4th, 2008 00:01
Get var not working with special characters skuliaxe PHP Forum 0 Mar 30th, 2008 22:35
Detecting characters between < and > ? Kerosene JavaScript Forum 5 Jan 16th, 2008 16:32
Japanese characters Sheela Starting Out 11 May 12th, 2007 22:20
Stripping Characters out of Strings ? itsmarkdavies JavaScript Forum 3 Aug 23rd, 2006 20:35


All times are GMT. The time now is 10:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43