mercurial/encoding.py
changeset 17519 d8d2856a0c7f
parent 17236 9fb8312dbdbd
child 18378 404feac78b8a
equal deleted inserted replaced
17518:cb68ca8a62f7 17519:d8d2856a0c7f
   221     Otherwise, unsupported bytes are mapped to UTF-16 surrogate range,
   221     Otherwise, unsupported bytes are mapped to UTF-16 surrogate range,
   222     uDC00-uDCFF.
   222     uDC00-uDCFF.
   223 
   223 
   224     Principles of operation:
   224     Principles of operation:
   225 
   225 
   226     - ASCII and UTF-8 data sucessfully round-trips and is understood
   226     - ASCII and UTF-8 data successfully round-trips and is understood
   227       by Unicode-oriented clients
   227       by Unicode-oriented clients
   228     - filenames and file contents in arbitrary other encodings can have
   228     - filenames and file contents in arbitrary other encodings can have
   229       be round-tripped or recovered by clueful clients
   229       be round-tripped or recovered by clueful clients
   230     - local strings that have a cached known UTF-8 encoding (aka
   230     - local strings that have a cached known UTF-8 encoding (aka
   231       localstr) get sent as UTF-8 so Unicode-oriented clients get the
   231       localstr) get sent as UTF-8 so Unicode-oriented clients get the