Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Converting {add,strip}cslashes to Unicode [RSS Feed]

#1 Oct. 25, 2005 20:17:10

Rolland S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Converting {add,strip}cslashes to Unicode


Resending, any update on the foll ?

TIA,
Rolland

> Date: Sat, 1 Oct 2005 05:00:28 -0700 (PDT)
> From: Rolland Santimano <>
>
> > string addcslashes(string text, string charlist)
> > string stripcslashes(string text)
> > Escape chars < 32 or > 126 with octal sequences, and escape
> > characters from charlist with backspace.
>
> Escaping chars/codepts with values > 126 is a pblm in Unicode
> strings. Using the 3-digit octal escape sequence, only the first
> 0x1FF codepts will be escaped.
>
> One soln is to only escape values < 32 with the 3-digit octal
> sequence. Or use hex sequences for escaping everything.
>
> Thoughts ?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Converting {add,strip}cslashes to Unicode [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support