Web News

India top destination for UK outsourcing
India is now outstripping competitors worldwide for cost and service quality and is riding the crest of a revolution in global outsourcing, according to a report. The report by advisory firm EquaTerra, the Outsourcing Service...

Facebook inspires Indian bureaucrats seeking...
t's not just wired youngsters who think in terms of online social networking - even Indian government officials are planning to use them for foreign collaborations.

Open access publishing takes off in India
A small but growing number of Indian journals are moving to the free open access format of internet publishing. 'Many leading journals published in India are already open access. These include the journals...

Sony bags IPL cricket rights for $1 bn
Sony television Monday bagged the rights of the Indian cricket board's Indian Premier League (IPL) at a cost of $1 billion for 10 years. The first edition will be held in April. As part of the package, Sony will pay the Board...



Recent WebProNews

Despite Facebook Rise, MySpace Still King
All the press and the industry observers talked about last year was Facebook, which made it seem like MySpace was soooo 2006. Social networkers, though, must not have been paying too much attention. According to data...

Scoble Leaves PodTech, Joins Fast Company
We’ve known for a few weeks that Robert Scoble would leave PodTech this week, but we didn’t know where he’d end-up. Until today. Top blogger, social media guru...

Oracle Closes BEA Deal For $8.5 Billiona
The valuation comes as Oracle and BEA agree on terms that will have Oracle pay $19.375 per share in cash for outstanding shares in the web application company. Oracle Closes BEA Deal For $8.5 Billion. The off...

Yahoo Patent Filing Sheds Light On PageRank
As complex as Google's PageRank may be, search experts at Yahoo seem to think it's not complex enough. Based on patent filings, Yahoo is dabbling in ranking algorithms that incorporate more user behavior...


01.16.08

PHP Mail Function For Handling UTF8 Characters

By Giorgos Kontopoulos

I have been struggling for some time now to create a php mail function that can handle UTF8 characters across most email readers.

I think I have finally accomplished this and it might be useful to others so here it is.

The problem with the php mail is that it does not encode the names and subjects and they could get lost in the transport or be misinterpreted from the email readers.

This function actually does the proper encoding and overcomes the php mail deficiency.



New Server Offer! Double or Triple - You Pick The Winning Savings Combo - Click here today!



The emails themselves don't need to be encoded since an email conventionally can only consist of latin characters but, we could also confuse the mail server if we did encode them.

It has not been extensively tested, therefore I can't guarantee that it would work with all possible mail readers. So please do send in your bug reports or any other comments.

Comments

About the Author:
Giorgos Kontopoulos is a web consultant from Greece. He is one of the authors of GeoLand.org where he can often be found blogging about issues related to web development and search engine optimization.

About DevWebPro India
DevWebPro India is for professional developers ... those who build and manage applications and sophisticated websites. DevWebPro India delivers via news and expert advice New Strategies In Development.

DevWebPro India is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com NetworkNewz.com


-- DevWebPro India is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2008 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


New Strategies In Development DevWebPro India News Archives About Us Feedback DevWebPro India Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact