Commit 955f08db authored by Pavlov Konstantin's avatar Pavlov Konstantin

Recode output in rc interface to current locale

parent 268289cf
...@@ -54,6 +54,8 @@ ...@@ -54,6 +54,8 @@
#include "network.h" #include "network.h"
#include "vlc_url.h" #include "vlc_url.h"
#include "charset.h"
#if defined(AF_UNIX) && !defined(AF_LOCAL) #if defined(AF_UNIX) && !defined(AF_LOCAL)
# define AF_LOCAL AF_UNIX # define AF_LOCAL AF_UNIX
#endif #endif
...@@ -137,7 +139,7 @@ void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... ) ...@@ -137,7 +139,7 @@ void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... )
if( p_intf->p_sys->i_socket == -1 ) if( p_intf->p_sys->i_socket == -1 )
{ {
vprintf( psz_fmt, args ); utf8_vfprintf( stdout, psz_fmt, args );
printf( "\r\n" ); printf( "\r\n" );
} }
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment