Commit 24a1b306 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Assume UTF-8 operating system by default

parent 9f1a2dcc
Changes between 1.1.0 and 1.2.0-git: 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 Access
* Multiple files are supported from RAR files * Multiple files are supported from RAR files
......
...@@ -910,6 +910,19 @@ fi ...@@ -910,6 +910,19 @@ fi
AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ]) 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 dnl Check for dbus
AC_ARG_ENABLE(dbus, AC_ARG_ENABLE(dbus,
[ --enable-dbus Linux D-BUS message bus system (default enabled)]) [ --enable-dbus Linux D-BUS message bus system (default enabled)])
......
...@@ -42,11 +42,6 @@ ...@@ -42,11 +42,6 @@
#endif #endif
#include <errno.h> #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) #if defined (ASSUME_UTF8)
/* Cool */ /* Cool */
......
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