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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 24 23:00:01 2025 UTC