Skip to content

Catch and re-issue utf8 warnings at a higher level#26

Merged
dankogai merged 1 commit intodankogai:masterfrom
dagolden:catch-utf8-warnings
Oct 29, 2014
Merged

Catch and re-issue utf8 warnings at a higher level#26
dankogai merged 1 commit intodankogai:masterfrom
dagolden:catch-utf8-warnings

Conversation

@dagolden
Copy link
Copy Markdown

This catches Encode::Unicode warnings and re-issues them from Encode, so
that callers can disable warnings lexically with no warnings 'utf8'.

Fixes https://rt.cpan.org/Ticket/Display.html?id=88592

This catches Encode::Unicode warnings and re-issues them from Encode, so
that callers can disable warnings lexically with `no warnings 'utf8'`.

Fixes https://rt.cpan.org/Ticket/Display.html?id=88592
dankogai added a commit that referenced this pull request Oct 29, 2014
Catch and re-issue utf8 warnings at a higher level
@dankogai dankogai merged commit d2e1633 into dankogai:master Oct 29, 2014
dankogai added a commit that referenced this pull request Oct 29, 2014
p5p pushed a commit to Perl/perl5 that referenced this pull request Nov 7, 2014
  [DELTA]

$Revision: 2.64 $ $Date: 2014/10/29 15:37:54 $
! t/utf8warnings.t MANIFEST
  Retouch pull #26 so it works with perl < 5.14
! Encode.pm
+ t/utf8warnings.t
  Pulled: Catch and re-issue utf8 warnings at a higher level
  dankogai/p5-encode#26
+ Encode.xs
  Pulled: Validate continuations in the incremental UTF-X decoder
  dankogai/p5-encode#25
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Nov 24, 2014
! t/utf8warnings.t MANIFEST
  Retouch pull #26 so it works with perl < 5.14
! Encode.pm
+ t/utf8warnings.t
  Pulled: Catch and re-issue utf8 warnings at a higher level
  dankogai/p5-encode#26
+ Encode.xs
  Pulled: Validate continuations in the incremental UTF-X decoder
  dankogai/p5-encode#25
! Encode.xs
  Applied: RT #99264: call_pv() can reallocate the stack
  https://rt.cpan.org/Ticket/Display.html?id=99264
! Byte/Makefile.PL CN/Makefile.PL EBCDIC/Makefile.PL Encode.xs
  JP/Makefile.PL KR/Makefile.PL Symbol/Makefile.PL TW/Makefile.PL
  bin/enc2xs encengine.c
  Pulled: add PERL_NO_GET_CONTEXT to all dynamic libs
  dankogai/p5-encode#24
alexmv added a commit to alexmv/p5-encode that referenced this pull request Jul 22, 2016
This applies the same changes in a6c2ba3 (pull dankogai#26) to the `from_to`
method as well.
@asifiqbal
Copy link
Copy Markdown

I am using 2.84 and I do not see this change in there and I am getting similar errors..

[Wed Jul 20 18:34:27 2016] [warning]: Code point 0x6170702E is not Unicode, may not be portable at /usr/local/lib/perl/5.14.2/Encode.pm line 221. (/usr/local/lib/perl/5.14.2/Encode.pm:221)

@hakonhagland
Copy link
Copy Markdown

rurban pushed a commit to rurban/p5-encode that referenced this pull request May 10, 2019
rurban pushed a commit to rurban/p5-encode that referenced this pull request May 10, 2019
This applies the same changes in a6c2ba3 (pull dankogai#26) to the `from_to`
method as well.
khwilliamson pushed a commit to khwilliamson/p5-encode that referenced this pull request May 2, 2020
This applies the same changes in a6c2ba3 (pull dankogai#26) to the `from_to`
method as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants