Jump to content

[SOLVED] Confused by character set


asmith

Recommended Posts

Hi,

 

I have a search form like this:

<form action="" method="post" accept-charset="UTF-8" style="margin: 0;">

<input type="text" name="search" style="width: 190px;" value="'.$_POST['search'].'" />

 

When I type    character in it. It searches the database and apparently find things with these character. But it shows this character as €  (Convert it when page reloads for search)

 

Why is this happening? and how can I prevent it?

Link to comment
https://forums.phpfreaks.com/topic/173626-solved-confused-by-character-set/
Share on other sites

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.