converters/p5-Unicode-Map 0.112p6 OpenBSD
conversions to and from arbitrary character sets
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- converters, perl5
Description
This module converts strings from and to 2-byte Unicode UCS2 format. All mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. To transform these use Unicode::String.
For historical reasons this module coexists with Unicode::Map8. Please use Unicode::Map8 unless you need to care for two byte character sets, e.g. chinese GB2312. Anyway, if you stick to the basic functionality (see documentation) you can use both modules equivalently.
Practically this module will disappear from earth sooner or later as Unicode mapping support needs somehow to get into perl's core. If you like to work on this field please don't hesitate contacting Gisle Aas!
This module can't deal directly with utf8. Use Unicode::String to convert utf8 to utf16 and vice versa.
Character mapping is according to the data of binary mapfiles in Unicode::Map hierarchy. Binary mapfiles can also be created with this module, enabling you to install own specific character sets. Refer to mkmapfile or file REGISTRY in the Unicode::Map hierarchy.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | converters/p5-Unicode-Map | 0.112p6 |
| FreeBSD | converters/p5-Unicode-Map | 0.112_2 |
| NetBSD | converters/p5-Unicode-Map | 0.112nb18 |
| DragonFly | converters/p5-Unicode-Map | 0.112_2 |
| MidnightBSD | converters/p5-Unicode-Map | 0.112_1 |
| HardenedBSD | converters/p5-Unicode-Map | 0.112_2 |
| GhostBSD | converters/p5-Unicode-Map | 0.112_2 |
Install
Binary package:
pkg_add p5-Unicode-Map
From the ports tree:
cd /usr/ports/converters/p5-Unicode-Map && make install