php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #23070 Change encoding to another encoding/charset
Submitted: 2003-04-06 07:53 UTC Modified: 2003-04-06 20:27 UTC
Votes:5
Avg. Score:4.2 ± 1.0
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:3 (75.0%)
From: asim at grc dot to Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.3.1 OS: Linux
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: asim at grc dot to
New email:
PHP Version: OS:

 

 [2003-04-06 07:53 UTC] asim at grc dot to
PROBLEM: Changing the data from one Encoding style to another on the fly.


EXPLAINATION:
Most of the websites use  Windows-1256 or some other encoding style of displaying Arabic text while we are using the Most Standardized UTF-8 encoding style/ charset at our website and our related sites. Now the text/data in Arabic which we get from other websites cannot be displayed on our website as the data encoding is different.

I am working to make solution in PHP where I decode windows-1256 or any other format in which I receive the data to single Unicode or UTF-8 format, before storing in database and then displaying on web.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-06 20:27 UTC] moriyoshi@php.net
Have a look at iconv extension

http://www.php.net/manual/en/ref.iconv.php

This definitely helps your work..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 17:01:34 2024 UTC