# -*- coding: utf-8 -*- jstr = u"日本語" print jstr.encode('iso-2022-jp') print jstr.encode('euc-jp') print jstr.encode('euc-jisx0213') print jstr.encode('euc-jis-2004') print jstr.encode('iso-2022-jp') print jstr.encode('iso-2022-jp-1') print jstr.encode('iso-2022-jp-2') print jstr.encode('iso-2022-jp-3') print jstr.encode('iso-2022-jp-ext') print jstr.encode('iso-2022-jp-2004') print jstr.encode('utf-7') print jstr.encode('utf-8') print jstr.encode('utf-16') print jstr.encode('utf-16-be') print jstr.encode('utf-16-le') print jstr.encode('cp932') #文字化けしない。 print jstr.encode('shift-jis') #文字化けしない。 print jstr.encode('shift-jisx0213') #文字化けしない。 print jstr.encode('shift-jis-2004') #文字化けしない。
Tuesday, June 20, 2017
mojibake mongon
Subscribe to:
Post Comments (Atom)
Going one step further with Kotlin & gRPC
Recently, I tried using Quarkus with Kotlin for grpc. I have worked with grpc for communication between microservices in Java & Golang. ...
-
Background: http://blog.virtuoso.com/tips-and-trends/10-powerful-reasons-why-people-love-to-travel/ https://sensophy.com/dream-trip-apr...
-
http://www.palindromelist.net/ https://nowthatsnifty.blogspot.com/2009/10/giant-list-of-palindromes.html http://www.derf.net/palin...
No comments:
Post a Comment