use dump(), converting the ascii in to hex codes and store it as a varchar in the DB. use chr() to reconvert the varchar string back to ascii. This will let you store everything in the DB with no trouble. (Those are Oracle funcs btw I dont know what the equivalent is in mysql).
Chris -----Original Message----- From: EmbraceThePenguin [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 22:14 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [hlds_linux] Restrict Characters in Player Names Well, the source is freely avalible the last time I looked :) > Yes...but I think I'd have to get into the source for AMX to make that > happen. Thoughts? > > Mike > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Matt Judge >> Sent: Tuesday, November 18, 2003 2:35 PM >> To: [EMAIL PROTECTED] >> Subject: Re: [hlds_linux] Restrict Characters in Player Names >> >> >> >> Mike Kercher wrote: >> >> >Is there a way to restrict users/players from having certain >> characters >> >in their name? I have some plugins which use a mysql >> database and when >> >players have names with characters such as (! ' "), it >> messes with the database. >> > >> >TIA >> > >> >Mike >> > >> > >> These characters can be escaped with a backslash '\'. >> >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux *********************************************** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. ************************************************ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

