Answer the question
In order to leave comments, you need to log in
Punycode-program for offline character conversion?
Does anyone have an offline program to convert Chinese characters to punycode?
I found one, but it only converts Cyrillic (Russian text). And instead of hieroglyphs, question marks. Perhaps you can correct its encoding?
Answer the question
In order to leave comments, you need to log in
Perhaps your problem is with the fonts and not with the program.
Try this solution here .
In PHP, there is a solution in the intl extension:
<?php
echo idn_to_ascii('收发板散件 图片是焊好的');
// xn-- -116a68m8xdk2dl5xbjal0dj4ef79au9cdpr
echo idn_to_utf8('xn-- -116a68m8xdk2dl5xbjal0dj4ef79au9cdpr');
// 收发板散件 图片是焊好的
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question