This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: Add entry for sync_locale()
authorKarl Williamson <khw@cpan.org>
Fri, 15 Aug 2014 15:05:28 +0000 (09:05 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 15 Aug 2014 15:21:14 +0000 (09:21 -0600)
pod/perldelta.pod

index 4c088f3..7abcbfc 100644 (file)
@@ -338,7 +338,11 @@ well.
 
 =item *
 
-XXX
+Added L<perlapi/sync_locale>.
+Changing the program's locale should be avoided by XS code.  Nevertheless,
+certain non-Perl libraries called from XS, such as C<Gtk> do so.  When this
+happens, Perl needs to be told that the locale has changed.  Use this function
+to do so, before returning to Perl.
 
 =back