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
$TTL 3600 | |
@ IN SOA dns200.anycast.me. tech.ovh.net. (2022082311 86400 3600 3600000 60) | |
IN NS ns200.anycast.me. | |
IN NS dns200.anycast.me. | |
IN A 66.111.4.53 | |
IN A 66.111.4.54 | |
IN MX 10 in1-smtp.messagingengine.com. | |
IN MX 20 in2-smtp.messagingengine.com. | |
IN TXT "v=spf1 include:spf.messagingengine.com ~all" |
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
import unicodedata | |
from unidecode import unidecode | |
def normalize(text:str): | |
text = unicodedata.normalize('NFD', text)\ | |
.encode('ascii', 'ignore')\ | |
.decode("utf-8") | |
return text | |
text ='zażółć gęślą jaźń, kožušček 北亰 François aaßaa aßb' |
OlderNewer