Jump to content

Handling Double byte characters for anytype of encoding in browser


phpsonali

Recommended Posts

Hello All,

 

We are working on translation project using PHP, mysql and Apache and facing some problems on IE browser while displaying non English and double byte characters.

The interface should be able to save English, non English and double byte characters from Browser. when we save from Mozilla firefox, it converts those characters to the hex code and save it in the database, and while displaying we just convert the hex code of the character and display so characters displays correctly. But when we save non English and double byte characters from IE , they get saved in the database in some binary format (actually they are not saved in the database as their hex code), so these characters are not displayed correctly on any browser ( in IE as well as Mozilla).

 

As I understand, problem is in the saving in the database in correct format, and I am not sure if there is any method to display the weird characters saved from IE browser except UTF-8 it can be anything.

 

Please suggest a solution if anybody came across or worked on this type of issue.

 

Example

 

Input Language Saved in database in this format Browser Name

купите бездисковый лицензионный пакет Russian купите бездисковый лицензионный пакет Mozilla firefox

купите бездисковый лицензионный пакет Russian êóïèòå áåçäèñêîâûé ëèöåíçèîííûé ïàêåò IE

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.