This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text.Json; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Linq; | |
using System.Collections.Concurrent; | |
using System.Collections.Specialized; | |
using System.Text.Encodings.Web; | |
using Underanalyzer.Decompiler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Based on the original tool https://gist.github.com/congkhoa/bcd46eea4972d01aad15f2c603b560c7 (the original can only TCVN3 -> Unicode) | |
# Dựa trên công cụ gốc https://gist.github.com/congkhoa/bcd46eea4972d01aad15f2c603b560c7 (bản gốc chỉ có thể chuyển TCVN3 -> Unicode) | |
import re | |
TCVN3TAB = "µ¸¶·¹¨»¾¼½Æ©ÇÊÈÉË®ÌÐÎÏѪÒÕÓÔÖ×ÝØÜÞßãáâä«åèæçé¬êíëìîïóñòô\u00adõøö÷ùúýûüþ¡¢§£¤¥¦" # NOQA | |
TCVN3TAB = [ch for ch in TCVN3TAB] | |
UNICODETAB = "àáảãạăằắẳẵặâầấẩẫậđèéẻẽẹêềếểễệìíỉĩịòóỏõọôồốổỗộơờớởỡợùúủũụưừứửữựỳýỷỹỵĂÂĐÊÔƠƯ" # NOQA |