[bitc-dev] Newline conventions

Eric Northup digitale at digitaleric.net
Sat Feb 18 10:33:47 EST 2006


On Sat, 2006-02-18 at 10:16, Jonathan S. Shapiro wrote:
> On Sat, 2006-02-18 at 08:24 -0500, Kevin Reid wrote:
> > How will one represent characters above U+FFFF? If the hexadecimal  
> > field is variable-width, how will one represent the string "•02" with  
> > the bullet escaped?
> 
> Thanks!
> 
> Two questions in response:
> 
> 1. Before I invent something, is there an existing convention that can
> be used that already deals with this?

Python uses "\uxxxx" for a 16 bit hex and "\Uxxxxxxxxx" for a 32 bit
one.

-Eric




More information about the bitc-dev mailing list