å ±ã«Encode::JP::Mobileã®dat/*-table.yamlã®ãã¼ã¿ã§æ¤è¨¼ã SoftBankã®Shift_JISããUnicodeè¦åãåãã£ãã®ã§ã¹ãããªãããããã§Shift_JIS(cp932)âUnicodeâUTF-8ãæ©æ¢°çã«å¤æã§ããã def softbank_sjis_to_unicode(sjis): high = sjis >> 8 low = sjis & 0xff if high == 0xf7: if low else: base = 0xe200 elif high == 0xf9: if low else: base = 0xe300 elif high == 0xfb: if low else: base = 0xe500 else: raise ValueError("not softbank emoji") if low elif lo
{{#tags}}- {{label}}
{{/tags}}