textproc/p5-Text-Unidecode 1.30nb10 NetBSD
Perl5 module that transliterates Unicode to US-ASCII
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- textproc, perl5
- Package size
- 87.1 KiB, 459.5 KiB installed
Description
It often happens that you have non-Roman text data in Unicode, but you can't display it -- usually because you're trying to show it to a user via an application that doesn't support Unicode, or because the fonts you need aren't accessible. You could represent the Unicode characters as "???????" or "\15BA\15A0\1610...", but that's nearly useless to the user who actually wants to read what the text says.
What Text::Unidecode provides is a function, unidecode(...) that takes Unicode data and tries to represent it in US-ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F). The representation is almost always an attempt at transliteration -- i.e., conveying, in Roman letters, the pronunciation expressed by the text in some other writing system.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/p5-Text-Unidecode | 1.30nb10 |
| FreeBSD | converters/p5-Text-Unidecode | 1.30 |
| OpenBSD | textproc/p5-Text-Unidecode | 1.30p0 |
| DragonFly | converters/p5-Text-Unidecode | 1.30 |
| MidnightBSD | converters/p5-Text-Unidecode | 1.30 |
| HardenedBSD | converters/p5-Text-Unidecode | 1.30 |
| GhostBSD | converters/p5-Text-Unidecode | 1.30 |
| OPNsense | converters/p5-Text-Unidecode | 1.30 |
Install
Binary package:
pkgin install p5-Text-Unidecode
From pkgsrc:
cd /usr/pkgsrc/textproc/p5-Text-Unidecode && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.30nb10 |
| NetBSD 10.1 aarch64 | 1.30nb9 |
| SmartOS / illumos x86_64 | 1.30nb10 |
| macOS 15 arm64 | 1.30nb10 |