Issue 6225 in pharo: Provide escapeCString method on ByteString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue 6225 in pharo: Provide escapeCString method on ByteString

pharo
Status: Accepted
Owner: ----
Labels: Milestone-2.0 Type-Feature

New issue 6225 by [hidden email]: Provide escapeCString method on  
ByteString
http://code.google.com/p/pharo/issues/detail?id=6225

Currently we cannot escape C strings properly in Pharo.

- we have an implementation for that in the Regex package
- there is a partially complete method working #withCRs which simply  
replaces '\' with newlines

we need a method which does proper C string escapes

ByteString >> #withCEscapes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker