# HG changeset patch # User alex # Date 1068157735 0 # Node ID b0c13371ebdfddf9c84d5feac67ac657910ea11f # Parent c17fc395142a9a137ea71142594fe7c6bd3e06ca remove uncommon langinfo code and replace it by more common setlocal. patch by Steven M. Schultz diff -r c17fc395142a -r b0c13371ebdf libmpdemux/asf_mmst_streaming.c --- a/libmpdemux/asf_mmst_streaming.c Thu Nov 06 20:32:47 2003 +0000 +++ b/libmpdemux/asf_mmst_streaming.c Thu Nov 06 22:28:55 2003 +0000 @@ -24,7 +24,6 @@ #ifdef USE_ICONV #include -#include #include #endif @@ -114,7 +113,7 @@ static void string_utf16_open() { setlocale(LC_CTYPE, ""); - url_conv = iconv_open("UTF-16LE",nl_langinfo(CODESET)); + url_conv = iconv_open("UTF-16LE",setlocale(LC_CTYPE, NULL)); } static void string_utf16_close() {