i wish to alter the SearchForm.php file during my wordpress styles to hebrew. i am talking about i wish to see 'חפש' (hebrew text) rather than 'search for '.

after i change it out i see gebrish.

how come ??


You have to make certain the content-kind of the page is the most appropriate one - normally UTF-8 works for those languages.

Use a meta tag inside the head element:

<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 

For Hebrew it's iso-8859-8.

<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-8"> 

This really is normally already setup inside the template and you can try your configurations to ascertain if it's correct - In Configurations -> Reading through, under "Encoding for pages and feeds".

Additionally you need to be certain the page is saved as UTF-8 and never ascii - look at your text editor configurations.