Documentation improvement

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24025 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-11-03 12:07:11 +00:00
parent 1850c6e699
commit dced7677cd
2 changed files with 13 additions and 2 deletions

View file

@ -1330,9 +1330,15 @@ handle_printf_atsign (FILE *stream,
* ASCII characters. The byte values escaped are any below 32 and any
* above 126 as well as 32 (space), 34 ("), 35 (#), 37 (%), 60 (<),
* 62 (>), 91 ([), 92 (\), 93 (]), 94 (^), 96 (~), 123 ({), 124 (|),
* and 125 (}).
* and 125 (}).<br />
* Returns nil if the receiver cannot be represented using the specified
* encoding.
* encoding.<br />
* NB. This behavior is MacOS-X (4.2) compatible, and it should be noted
* that it does <em>not</em> produce a string suitable for use as a field
* value in a url-encoded form as it does <strong>not</strong> escape the
* '+', '=' and '&amp;' characters used in such forms. If you need to
* add a string as a form field value (or name) you must add percent
* escapes for those characters yourself.
*/
- (NSString*) stringByAddingPercentEscapesUsingEncoding: (NSStringEncoding)e
{