Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to remove strange symbols

Status
Not open for further replies.

nego78

Programmer
Jun 13, 2004
129
PL
Hi

user fill form on page
page is encoded in utf-8 or iso-8859-2
how can i remove strange signs and change tem into similiar signs in "natural english"

? -> a ?
? -> e ?

and so on ...


second questions

how to write reguklar expressions which allow to include a ( sign or ' sign ?

magic_quotas are on

if (!preg_match("/[a-z'(]+/",$sometthing) doesn't solve the thing

Webdesign
 
Hi

i've tried
but i can't imagine how to hold in array all possible charcodes from utf-8 ?

i didn't mention but i can't use iconv :(

any other ideas ?



Webdesign
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top