Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
24a1b306
Commit
24a1b306
authored
Jul 18, 2010
by
Rémi Denis-Courmont
Browse files
Assume UTF-8 operating system by default
parent
9f1a2dcc
Changes
3
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
24a1b306
Changes between 1.1.0 and 1.2.0-git:
------------------------------------
Important changes for packagers:
* The default builds now assume that the operating system uses UTF-8 for
its file systems and files content (except the Windows port). If this is
not acceptable, pass --enable-non-utf8 to the configure script.
Access
* Multiple files are supported from RAR files
...
...
configure.ac
View file @
24a1b306
...
...
@@ -910,6 +910,19 @@ fi
AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
dnl Manual switch for UTF-8
AC_ARG_ENABLE(non-utf8,
[ --enable-non-utf8 Legacy non-UTF-8 systems support (default disabled)], [
AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"], [
enable_non_utf8="no"
])
])
AS_IF([test "${enable_non_utf8}" != "no"], [
AC_DEFINE([ASSUME_UTF8], [1],
[Define to 1 if the operating system uses UTF-8 internally])
])
dnl Check for dbus
AC_ARG_ENABLE(dbus,
[ --enable-dbus Linux D-BUS message bus system (default enabled)])
...
...
src/text/unicode.c
View file @
24a1b306
...
...
@@ -42,11 +42,6 @@
#endif
#include
<errno.h>
#if defined (__APPLE__) || defined (HAVE_MAEMO)
/* Define this if the OS always use UTF-8 internally */
# define ASSUME_UTF8 1
#endif
#if defined (ASSUME_UTF8)
/* Cool */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment