• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Unicode::Semantics Download

Unicode::Semantics

July 13, 2009
This software provides a solution to the Perl 5 Unicode bug. It allows users to work around the bug and continue using Perl 5 without experiencing any Unicode related issues.
Version 1.02
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Juerd Waalboer
Unicode::Semantics is a Perl module that works around the Unicode bug in Perl 5. The module addresses an issue wherein the internal encoding of a string is hidden from programmers but affects the semantics of the string. When the internal encoding is ISO-8859-1, Perl uses ASCII semantics, and when UTF8 is used, it uses Unicode semantics. This module resolves the unpredictability associated with the mixed use of encoding with the help of Unicode::Semantics::us() function.

The Unicode::Semantics::us() function provides predictable results for strings. Normally, if the internal encoding of a string is ISO-8859-1, its non-ASCII part is ignored for string operations. For instance, certain operations like uc, lc, ucfirst, lcfirst, U, L, u, l, d, s, w, D, S, W, /.../i, (?i:...) and /[[:posix:]]/ ignore the non-ASCII part of the character set. However, by leveraging us, you can upgrade your string to UTF-8 internally and get a enhanced string. It's also worth noting that the module exports an alias called up by default.

While releasing the module initially, the developer had used us, but later preferred the up. You can also use the built-in function utf8::upgrade to upgrade your string and retrieve the number of octets used for the internal UTF8 buffer. If you upgrade a non-string variable, like numbers, references, objects, and undef, it is stringified at upgrade. The us, up, and utf8::upgrade do mutate the actual value of the variable. If you only need to upgrade a copy of a string, then make the copy first.

Upgrading an already upgraded variable does not re-upgrade, so it is safe to do so. One can use the SYNOPSIS section to understand how the up function can be leveraged. You can force Unicode semantics on your string by using up $foo. Alternatively, you could use the up function with a regular expression substitution, up($foo) =~ s/W/_/g, which upgrades and uses the string immediately.

Overall, Unicode::Semantics offers a solution to manage the internal encoding of strings effectively and get predictable results.
What's New

Version 1.02: N/A

Free Download 5.3K
265
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

pixDIF
A tool facilitating comparison and measurement between design compositions and implementations, intended ...
Gaim-Encryption
Gaim-Encryption is a plugin that adds RSA encryption capabilities to Gaim software, ...
SUIT Framework
SUIT is a lightweight and powerful open-source PHP web framework that lets ...
z80ex
Z80~Ex is a library-based ZiLOG Z80 CPU emulator that can be easily ...
TinyCA
TinyCA is a Perl/Gtk-based software that provides a basic graphical user interface ...
Blueish
Blueish is a GNOME desktop software that offers a blue GTK theme. ...
Rounded PHP
Rounded PHP is a fast and effortless API that enables producing anti-aliased, ...
SPBLinux
SPBLinux is a compact and modular distribution software that operates entirely in ...
splitmastream
Splitmastream is a software that can receive MPEG streams through the standard ...
File::SearchPath
Locate files within an environment variable path using a search function. This ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.