ELISHEVA has asked for the wisdom of the Perl Monks concerning the following question:
In the subversion C/C++ API one of the function parameters defaults to a "locale encoding" which apparently is the native encoding used by the platform where the subversion client is running. I've been trying to find out how to use Perl to tell me the "locale" encoding and I'm having no luck. I'm sure I'm just not looking in the right place, but I wonder if one of the esteemed monks would be willing to tell me where this little tidbit is hiding.
So far I have tried:
Many thanks in advance, beth
Note: the subversion perl API does have such a function, called svn_locale_charset(), located in core.i. I'm interested in a pure Perl equivalent.
Note2:The ideal would be platform independent (works on all Perl supported systems), but a stop-gap would be a collection of OS-specific functions that I could wrap together with some OS detection code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there a variable or function equivalent to APR_LOCALE_CHARSET (native platform encoding)
by cdarke (Prior) on Feb 01, 2009 at 14:10 UTC | |
by ELISHEVA (Prior) on Feb 01, 2009 at 14:19 UTC | |
by Anonymous Monk on Feb 01, 2009 at 18:58 UTC | |
by ELISHEVA (Prior) on Feb 02, 2009 at 04:41 UTC | |
by Anonymous Monk on Feb 03, 2009 at 14:50 UTC |