Discussion:
[perl.git] branch blead updated. v5.27.8-353-g4b262b1674
(too old to reply)
H.Merijn Brand
2018-02-20 10:55:21 UTC
Permalink
In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/4b262b167490219129b4e3f8e3f6403a31ed95d2?hp=4eaf16e87417b79e64c5b779686914dc86b86520>

- Log -----------------------------------------------------------------
commit 4b262b167490219129b4e3f8e3f6403a31ed95d2
Author: H.Merijn Brand <***@xs4all.nl>
Date: Tue Feb 20 11:55:17 2018 +0100

Move note about defective locale on HP-UX to README.hpux

-----------------------------------------------------------------------

Summary of changes:
README.hpux | 9 +++++++++
hints/hpux.sh | 5 -----
2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/README.hpux b/README.hpux
index e1857e08dc..3bd4be3e3d 100644
--- a/README.hpux
+++ b/README.hpux
@@ -563,6 +563,15 @@ questions about 64-bit numbers when Configure asks you, you may get a
configuration that cannot be compiled, or that does not function as
expected.

+=head2 Locales on HP-UX
+
+HP-UX installs the locale C<univ.utf8> on all systems. Up to and
+including HP-UX 11.23, this local is defective in that it thinks that
+the characters C<< $ + < = > ^ ` | >> and C<~> are punctuation, which
+they are not according to the Unicode standards.
+
+This appears to be fixed on HP-UX 11.31.
+
=head2 Oracle on HP-UX

Using perl to connect to Oracle databases through DBI and DBD::Oracle
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 3eef0388a7..91a4d7d388 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -1,10 +1,5 @@
#!/usr/bin/sh

-# The locale 'univ.utf8' is defective on some of these systems, as it doesn't
-# think that
-# $ + < = > ^ ` | ~
-# are punctuation. This is fixed in 11.31
-
### SYSTEM ARCHITECTURE

# Determine the architecture type of this system.
--
Perl5 Master Repository
Craig A. Berry
2018-02-24 14:59:57 UTC
Permalink
Post by H.Merijn Brand
In perl.git, the branch blead has been updated
<https://perl5.git.perl.org/perl.git/commitdiff/4b262b167490219129b4e3f8e3f6403a31ed95d2?hp=4eaf16e87417b79e64c5b779686914dc86b86520>
- Log -----------------------------------------------------------------
commit 4b262b167490219129b4e3f8e3f6403a31ed95d2
Date: Tue Feb 20 11:55:17 2018 +0100
Move note about defective locale on HP-UX to README.hpux
-----------------------------------------------------------------------
README.hpux | 9 +++++++++
hints/hpux.sh | 5 -----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/README.hpux b/README.hpux
index e1857e08dc..3bd4be3e3d 100644
--- a/README.hpux
+++ b/README.hpux
@@ -563,6 +563,15 @@ questions about 64-bit numbers when Configure asks you, you may get a
configuration that cannot be compiled, or that does not function as
expected.
+=head2 Locales on HP-UX
+
+HP-UX installs the locale C<univ.utf8> on all systems. Up to and
+including HP-UX 11.23, this local is defective in that it thinks that
+the characters C<< $ + < = > ^ ` | >> and C<~> are punctuation, which
+they are not according to the Unicode standards.
I think you said this backwards and reversed "doesn't think" in the
hints to "thinks". These characters are members of the punct class
according to POSIX:

<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html#tag_07_03_01_01>

It's confusing because the author(s) of the standard decided to use the
word "punctuation" to describe things that are definitely not
punctuation, apparently not knowing that characters such as mathematical
symbols and currency symbols are not punctuation. As a result,
ispunct() is useless for identifying punctuation and really just
identifies printable characters that are not letters, numbers, or space.

I guess the only notable thing for Perl is that it complies with the
current standard even where the C library uses an older and correct but
non-standard definition.
Post by H.Merijn Brand
+This appears to be fixed on HP-UX 11.31.
+
=head2 Oracle on HP-UX
Using perl to connect to Oracle databases through DBI and DBD::Oracle
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 3eef0388a7..91a4d7d388 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -1,10 +1,5 @@
#!/usr/bin/sh
-# The locale 'univ.utf8' is defective on some of these systems, as it doesn't
-# think that
-# $ + < = > ^ ` | ~
-# are punctuation. This is fixed in 11.31
-
### SYSTEM ARCHITECTURE
# Determine the architecture type of this system.
Loading...