Reply to Re: UTF-8 Email with links

Your name:

Reply:


Posted by Tim Roberts on 10/23/70 11:34

kamlai@gmail.com wrote:
>
>I have an email in utf-8 encoding. In the content of the email, I need
>to send a link in which the filename is in utf-8 string...just like
>this..
>
>$content = "<a href=\"http://xxxxxx/".$filename."\"">Link to file</a>";
>
>however, the link can not be correctly passsed and it automatically
>encodes it into %xx format. How to solve the problem?

You allow it to encode into the %xx format. URLs are not supposed to
contain any characters outside of 20 - 7F.

>I've tried urlencode($filename) and urldecode($filename) but cannot fix
>the problem...

What operating system are you using? Are you sure the operating system
allows utf-8 filenames?
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация