multi-byte character string decoder
Project description
mbstrdecoder
Summary
Python library for multi-byte character string decoder.
Installation
pip install mbstrdecoder
Usage
from __future__ import print_function
from mbstrdecoder import MultiByteStrDecoder
encoded_multibyte_text = u"マルチバイト文字".encode("utf-8")
decoder = MultiByteStrDecoder(encoded_multibyte_text)
print(encoded_multibyte_text)
print(decoder.unicode_str)
print(decoder.codec)
b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97' マルチバイト文字 utf_8
Dependencies
Python 2.7+ or 3.3+
Test dependencies
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mbstrdecoder-0.2.2.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file mbstrdecoder-0.2.2.tar.gz
.
File metadata
- Download URL: mbstrdecoder-0.2.2.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe6412d8f796fc86c90a5d394a2c93adc05a3e4225986494665a43c65dcc9312 |
|
MD5 | f528c26e537fe5c6987d5c5ccf6ab6e0 |
|
BLAKE2b-256 | 4017ea4f3a4c844e3e5a112408879c02a1c0517ab07f97a070afe992d98d1a1a |
File details
Details for the file mbstrdecoder-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: mbstrdecoder-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37c6b72d037f2ffb56eca69f0c0f9302633a275aad2f90d0420bc40a7c5aa7c3 |
|
MD5 | 1a111fba47df80ff112f31e7e89e193f |
|
BLAKE2b-256 | 9cbb0745571fd28201ccdd30990504e87f83a59b7128a76c3a87ab1fcb333b62 |