RT #133788: Make sv_utf8_downgrade() and sv_utf8_decode() non-unstable

#  <...@cpa...>

Mon, 21 Jan 2019 11:30:41 -0800
Hello, these two functions are currently marked as unstable with M in embed.fnc function so they may change: Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok Apd |void |sv_utf8_encode |NN SV *const sv ApdM |bool |sv_utf8_decode |NN SV *const sv These functions are available since Perl 5.6.0 (just upgrade* since 5.7.2) and used by more XS modules on CPAN. AFAIK their API or behavior was not changed so I suggest to remove M and make them "stable". Or is there any specific reason why upgrade and encode is without M and downgrade and decode with M?

# Tony Cook <...@dev...>

Tue, 22 Jan 2019 15:12:46 -0800
On Mon, 21 Jan 2019 11:30:41 -0800, [email protected] wrote: > Hello, these two functions are currently marked as unstable with M in > embed.fnc function so they may change: > > Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv > Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv > ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok > Apd |void |sv_utf8_encode |NN SV *const sv > ApdM |bool |sv_utf8_decode |NN SV *const sv > > These functions are available since Perl 5.6.0 (just upgrade* since > 5.7.2) and used by more XS modules on CPAN. AFAIK their API or behavior > was not changed so I suggest to remove M and make them "stable". > > Or is there any specific reason why upgrade and encode is without M and > downgrade and decode with M? Done in 43c6a1a7c444b2b6f513c4716e9bc2e3468c244d. Tony

# The RT System itself <>

Tue, 22 Jan 2019 15:12:46 -0800
Status changed from new to open.

# Tony Cook <...@dev...>

Tue, 22 Jan 2019 15:12:56 -0800
Status changed from open to pending release.

# Karl Williamson <...@cpa...>

Wed, 22 May 2019 08:07:07 -0700
Thank you for filing this report. You have helped make Perl better. With the release today of Perl 5.30.0, this and 160 other issues have been resolved. Perl 5.30.0 may be downloaded via: https://metacpan.org/release/XSAWYERX/perl-5.30.0 If you find that the problem persists, feel free to reopen this ticket.

# Karl Williamson <...@cpa...>

Wed, 22 May 2019 08:07:07 -0700
Status changed from pending release to resolved.