php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #20685 UTF-8 encoding as ISO-8859-15
Submitted: 2002-11-27 15:41 UTC Modified: 2002-12-21 10:57 UTC
From: r dot everhardt at home dot nl Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.2.1 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: r dot everhardt at home dot nl
New email:
PHP Version: OS:

 

 [2002-11-27 15:41 UTC] r dot everhardt at home dot nl
How can I UTF-8 encode the euro symbol?

New symbols like the Euro are not correctly encoded by the current utf8_encode function. ISO has issued a new standard: ISO-8859-15, which is mostly like ISO-8859-1 except that it removes some rarely used characters (the old currency sign) and replaced it with the Euro sign.
The feature request: a function to utf-8 encode a string, that also encodes the euro symbol correctly.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-21 10:57 UTC] moriyoshi@php.net
You can accomplish it with iconv() or mb_convert_encoding().

See
http://www.php.net/iconv
http://www.php.net/mb_convert_encoding

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 20:01:32 2024 UTC