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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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 04:01:31 2024 UTC