Friday, March 13, 2009

SharePoint Escape Characters

Ran into a problem when I was writing script to add a new entry to a column (using XML web services). I could not get the column names the same as the were name. Like my "e-mail" column. So for that one I had to type for the id in the script e_x002d_mail.

Blank space: _x0020_
Underscore: _x002d_
Dash: _x0027_

Here is the Format:

_x00[the escape code]_


Char Code

[space] 20
< 3C
> 3E
# 23
% 25
{ 7B
} 7D
| 7C
\ 5C
^ 5E
~ 7E
[ 5B
] 5D
` 60
; 3B
/ 2F
? 3F
: 3A
@ 40
= 3D
& 26
$ 24