i'm using ubuntu. console (using python or bash) not print utf8 chars of 4 bytes, 3 bytes or less.
example (bash):
eran@eran-ms-7788:~/dropbox/help$ echo -e "\xee\x8c\xb0" # prints v sign eran@eran-ms-7788:~/dropbox/help$ echo -e "\xf0\x9f\x8f\x80" # should print basketball sign not print
i same python console.
any way solve this?
most called unicode fonts implement characters present in unicode bmp (basic multiligual plane) - u+0000
u+ffff
, can represented using 3 bytes using utf-8
.
there few fonts implement characters beyond bmp: is, u+010000
u+1fffff
(which encoded using 4 bytes in utf-8
), , think linux console or terminal no exception. because of this, not see character expect. on time, possible support characters beyond bmp become better, take long time. can read more here.
Comments
Post a Comment