multi-byte character string decoder
Project description
mbstrdecoder
Summary
Python library for multi-byte character string decoder.
Installation
pip install mbstrdecoder
Usage
- Sample Code:
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)
- Output:
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.3.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file mbstrdecoder-0.2.3.tar.gz
.
File metadata
- Download URL: mbstrdecoder-0.2.3.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc7f14e99f42d505cf3a05518440e5b0675a3faad69bdb6ddebc8300b973f5a5 |
|
MD5 | bdeb244c1c536608c530b49927eba159 |
|
BLAKE2b-256 | fd42b16ac80120f7b853b76ddf0796925c522bfe93852d03191c8f531f50b880 |
File details
Details for the file mbstrdecoder-0.2.3-py2.py3-none-any.whl
.
File metadata
- Download URL: mbstrdecoder-0.2.3-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6647dc0b576d6b5bbdcb8e8bc94620fa35d0d9f5a65c85cc32add883ebbf9aef |
|
MD5 | c38834efbfdbbfb882e1f0dd466451dd |
|
BLAKE2b-256 | c62d0e9fac9485f6fd17a8373142222b172e6cbf3eb12d4d7fefde8c65594248 |