File: _dump.pl

package info (click to toggle)
python-text-unidecode 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: python: 76; makefile: 9; perl: 6
file content (10 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env perl
use Text::Unidecode;
use Encode;

for ($c=1; $c<65535; $c++){ # limit ourselves to narrow python builds
    $trans = unidecode(chr($c));
    print encode("utf8", "$trans\x00");
}

# usage: perl _dump.pl > src/text_unidecode/data.bin