MCPcopy Create free account
hub / github.com/antirez/freakwan / convert_from_utf8

Method convert_from_utf8

scroller.py:187–191  ·  view source on GitHub ↗
(self,msg)

Source from the content-addressed store, hash-verified

185
186 # Convert certain unicode points to our 4x6 font characters.
187 def convert_from_utf8(self,msg):
188 msg = msg.replace("è","\x80")
189 msg = msg.replace("é","\x81")
190 msg = msg.replace("😀","\x96\x97")
191 return msg
192
193 # Add a new line, without refreshing the display.
194 def print(self,msg):

Callers 1

printMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected