Jump to content

php4 and spanish words - help


taterman

Recommended Posts

Hello,

I created a site with php5 that uses both English and Spanish. It works great in php5, but when I sent the files to our main office in Spain, so the files could be added to the server, they displayed differently. I found out they are only using php4 and whatever is different between the two php versions (or way they are setrup) is making the Spanish letters that use special characters in php4 like (Español, satisfación) all end up displaying incorrectly like (Espa´?¢l, satisfaci´?¢). Can someone please tell me how to display the special characters correctly in php4 or is it a setting in the php.ini file that needs to be configured.


Thanks
Link to comment
Share on other sites

It's difficult to offer a solution, because the problem is probably related to a specific function or command that is being run on the text or perhaps how it is stored in a database.

If I run this [b]echo "(Español, satisfación)";[/b] on a PHP4 server it displays correctly.

You should probably do some debugging by echoing the text to the screen at the various stages. For example before and after any commands/functions you apply to the text.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.