summaryrefslogtreecommitdiff
path: root/lib/utf8.pm
Commit message (Collapse)AuthorAgeFilesLines
* Fix enough code to get make test_prep working with -dDusedefaultstrictTodd Rinaldo2020-10-131-4/+8
| | | | | | | | | This change fixes enough code that it's possible to run make test_prep when perl is compiled with -Dusedefaultstrict. There are 2 caveats to this: - Does not address XSLoader/DynaLoader already submitted in another PR. - Does not address cpan/Pod-Usage or cpan/Text-Tabs which continue to be outstanding upstream.
* utf8.pm: Add decoding example to podKarl Williamson2020-09-271-1/+6
| | | | Thanks to Dagfinn Ilmari Mannsåker and H.Merijn Brand
* Don't use utf8_heavy.pl unless neededKarl Williamson2019-03-101-2/+1
| | | | | | | Prior to this commit 'use utf8' loaded utf8_heavy.pl. But previous commits in the 5.29 series mean it is not needed from the core unless a tr/// is using UTF-8, a much less likely occurrence. So load it only on demand
* minor grammar and punctuation fixesKaren Etheridge2017-12-281-2/+2
|
* lib/utf8.pm: Further clarification of UTF-8 flavorKarl Williamson2017-12-271-1/+2
| | | | | | Commit 50a85cfe6c852deb0c2f738cb82006623052dc8e clarified that this module uses Perl's extended UTF-8, but missed the mention fixed in this commit.
* utf8.pm: Clarify that UTF-8 is Perl's extended formKarl Williamson2017-12-221-17/+15
| | | | Spotted by Christian Hansen
* (perl #131685) improve utf8::* function documentationTony Cook2017-07-241-14/+57
| | | | | | | | | | | | | | | Splits the little cheat sheet I posted as a comment into pieces and puts them closer to where they belong - better document why you'd want to use utf8::upgrade() - similarly for utf8::downgrade() - try hard to convince people not to use utf8::is_utf8() - no, utf8::is_utf8() isn't what you want instead of utf8::valid() - change some examples to use $x instead of the sort reserved $a
* lib/utf8.pm: pod changesKarl Williamson2016-01-071-70/+57
| | | | | See thread beginning at http://nntp.perl.org/group/perl.perl5.porters/233125
* bump $utf8::VERSION for the utf8_heavy.pl fixTony Cook2015-12-141-1/+1
|
* bump utf8 version after doc fixDavid Mitchell2015-05-171-1/+1
|
* Fix a doc typo in the spelling of EBCDICRafael Garcia-Suarez2015-05-171-1/+1
|
* Reword reference to $ENV{PERL_UNICODE} in utf8Randy Stauner2015-03-291-2/+2
| | | | | | | "The $ENV{...}," doesn't read well; Spell it out for consistency with perlrun. Committer: Increment $VERSION and add entry to perldelta.
* Optimize out unicode_to_native(), native_to_unicode()Karl Williamson2015-03-121-1/+9
| | | | | | | These just return their argument on ASCII platforms, so can get rid of the function call overhead there. Thanks to Zefram and Matthew Horsfall for their help in this.
* lib/utf8.pm: Document unicode_to_native() and inverseKarl Williamson2014-05-311-6/+41
|
* lib/utf8.pm: wrap code examples in pod with C<>Karl Williamson2014-05-311-6/+6
|
* utf8.pm: Slight clarification in podKarl Williamson2013-08-141-2/+2
|
* Fix internal inconsistencies in style in utf8.pm docsEric Brine2013-06-031-8/+8
|
* FAIL_OK looks too much like a constant [RT##118279]Eric Brine2013-06-031-3/+3
|
* Remove double space between words in podBrian Fraser2013-05-201-1/+1
|
* lib/utf8.pm: Fix pod verbatim line wrapsKarl Williamson2013-05-201-14/+16
|
* lib/utf8.pm: Pod clarification and nitKarl Williamson2013-05-201-4/+4
|
* utf8: Remove unused variable (%utf8::enc).Brian Fraser2013-05-191-2/+1
| | | | | | | | | | | | In its original implementation in perl 5.6, 'use utf8' accepted an encoding argument, which was saved in %utf8::enc and later used by utf8_heavy.pl to load the right files from lib/unico[rd]e. However, since 5.8 (or more specifically, 15732964418f), utf8_heavy.pl stopped using that variable, so there's no reason to keep it around in utf8.pm. Bump $VERSION in lib/utf8.pm.
* utf8.pm: pod: grammar, clarifyKarl Williamson2012-05-241-4/+4
|
* Bump versions of modules changed since the last blead release (found byJesse Vincent2011-02-011-1/+1
| | | | abigail's new failing test)
* POD typoJay Hannah2011-01-281-1/+1
|
* Better explain utf8::upgrade/downgrade/encode/decodeDavid Mitchell2010-02-221-17/+33
| | | | | Try to make it clear what each does, and the fact that upgrade/downgrade don't change the logical string value while encode/decode do.
* Tels' patch to defer overloading of hex and oct,Rafael Garcia-Suarez2007-06-231-1/+1
| | | | | | to avoid magic leaking and smoke failures under utf-8 locales p4raw-id: //depot/perl@31450
* Remove notes about experimental functions in the utf8 module.Rafael Garcia-Suarez2007-03-121-10/+4
| | | | | | Also, document that the internal utf8 functions can be used without loading utf8.pm. (Suggested by Juerd) p4raw-id: //depot/perl@30555
* Re: [PATCH] (Re: [PATCH] unicode/utf8 pod)Juerd Waalboer2007-03-071-65/+51
| | | | | Message-ID: <20070304150019.GN4723@c4.convolution.nl> p4raw-id: //depot/perl@30493
* utf8.pm doc patchAudrey Tang2007-01-261-7/+11
| | | | | Message-Id: <5BDAD0DE-3434-4A29-82C6-35AE3EFD27CC@audreyt.org> p4raw-id: //depot/perl@29992
* $utf8::VERSION++ # Documentation.Nicholas Clark2006-01-131-1/+1
| | | p4raw-id: //depot/perl@26824
* Fix internal links in POD.Rafael Garcia-Suarez2006-01-131-2/+2
| | | p4raw-id: //depot/perl@26819
* Bump versions of non dual-life modulesNicholas Clark2005-05-051-1/+1
| | | p4raw-id: //depot/perl@24399
* utf.pm needs to require Carp before croak()ingNicholas Clark2005-01-131-0/+1
| | | p4raw-id: //depot/perl@23788
* Bump version numbersNicholas Clark2004-07-011-1/+1
| | | p4raw-id: //depot/perl@23019
* Re: [PATCH] [perl #29841] utf8::decode doesn't work under -T SADAHIRO Tomoyuki2004-06-061-30/+44
| | | | | Message-Id: <20040606003344.57B2.BQW10602@nifty.com> p4raw-id: //depot/perl@22902
* Bump version numbers for modules that have changed since 5.8.3Nicholas Clark2004-04-041-1/+1
| | | p4raw-id: //depot/perl@22642
* Clarify the difference between utf8::downgrade/upgradeRafael Garcia-Suarez2004-03-041-8/+15
| | | | | and utf8::encode/decode (patch by Jarkko). p4raw-id: //depot/perl@22430
* Document even more ways of affecting your "utf8ness".Jarkko Hietaniemi2003-08-251-1/+4
| | | p4raw-id: //depot/perl@20878
* Try to make the use of utf8 as clear as possible.Jarkko Hietaniemi2003-08-221-1/+6
| | | p4raw-id: //depot/perl@20822
* Advertise the encoding pragma at the utf8 pragma.Jarkko Hietaniemi2003-08-221-7/+21
| | | p4raw-id: //depot/perl@20820
* utf8::is_utf8() wasn't there in 5.8.0.Jarkko Hietaniemi2003-08-181-5/+6
| | | p4raw-id: //depot/perl@20751
* [patch lib/utf8.pm] doc tweaksStas Bekman2003-08-161-4/+13
| | | | | Message-ID: <3F3E9464.3030202@stason.org> p4raw-id: //depot/perl@20735
* A swath of VERSION patches from Nicholas Clark.Jarkko Hietaniemi2003-08-141-1/+1
| | | p4raw-id: //depot/perl@20688
* Exercise the utf8:: "internal" functions.Jarkko Hietaniemi2003-06-141-17/+18
| | | p4raw-id: //depot/perl@19778
* Having to pull in the whole Encode just to get SvUTF8()Jarkko Hietaniemi2003-06-141-6/+13
| | | | | is a bit too much: introduce utf8::is_utf8(). p4raw-id: //depot/perl@19777
* Document the "Unicode in package/sub names" problem;Jarkko Hietaniemi2002-06-181-3/+17
| | | | | | | a microfix in toke.c towards the final goal (the fix removes the need to have quotes around Unicode package names when calling a method on them) p4raw-id: //depot/perl@17286
* Let's not promise too much: use utf8 only works on identifierJarkko Hietaniemi2002-04-161-3/+3
| | | | | | | | | names, not package or subroutine names (admittedly limited [1], but that's what the Camel says, and that's what we are going to stick to for 5.8.0). Also document that use vars does not do utf8. [1] The obvious problem in both is that package and subroutine names need to mappable to the filesystem. p4raw-id: //depot/perl@15947
* Underline that the current implementation is notJarkko Hietaniemi2002-04-061-14/+15
| | | | | guaranteed to be forever; and reformat a bit. p4raw-id: //depot/perl@15766
* Weak spots in the utf8 manpageAndreas König2002-04-061-7/+17
| | | | | Message-ID: <m3u1qqefeb.fsf@anima.de> p4raw-id: //depot/perl@15765