What characters should be legal in Thrift constants (defined in IDL files)?

\ ' "

Yes

dreiss
Dave Engberg
mcslee
Esteve Fernandez
Greg Stein

No

\n \r

Yes

mcslee
Esteve Fernandez
Greg Stein

No

dreiss
Dave Engberg

\t

Yes

Greg Stein
mcslee

No

\a \b \v \f

Yes

No

dreiss
Dave Engberg
mcslee Esteve Fernandez -- unsure about \t

\0

Yes

No

dreiss
Dave Engberg
mcslee
Esteve Fernandez
Greg Stein

non-ascii

Yes

Dave Engberg (+ general movement from ascii to Unicode for string type)
mcslee -- yeah UTF-8 seems fine to me
Esteve Fernandez -- UTF-8
Greg Stein -- UTF-8, Baby!!

No

dreiss

EscapingVote (last edited 2009-09-20 23:47:14 by localhost)