1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-01-30 18:25:44 +01:00
Files
ebook-converter/ebook_converter/ebooks/unihandecode/vndecoder.py
gryf 48fedea799 Removing unneeded from __future__ import statements.
Since we are on Python 3.6 and up, we don't need those anymore.
2020-04-19 17:39:02 +02:00

22 lines
580 B
Python

"""
Decode unicode text to an ASCII representation of the text in Vietnamese.
"""
from ebook_converter.ebooks.unihandecode import unidecoder
from ebook_converter.ebooks.unihandecode import vncodepoints
from ebook_converter.ebooks.unihandecode import unicodepoints
__license__ = 'GPL 3'
__copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
__docformat__ = 'restructuredtext en'
class Vndecoder(unidecoder.Unidecoder):
codepoints = {}
def __init__(self):
self.codepoints = unicodepoints.CODEPOINTS
self.codepoints.update(vncodepoints.CODEPOINTS)