Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2555b9ee
Commit
2555b9ee
authored
Jul 18, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide --enable-non-utf8 as in 1.2.0 but keep it on by default
parent
9130fe63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
configure.ac
configure.ac
+13
-0
src/text/unicode.c
src/text/unicode.c
+0
-5
No files found.
configure.ac
View file @
2555b9ee
...
@@ -268,6 +268,8 @@ case "${host_os}" in
...
@@ -268,6 +268,8 @@ case "${host_os}" in
enable_asademux="yes"
enable_asademux="yes"
echo " Assuming --enable-asademux"
echo " Assuming --enable-asademux"
enable_non_utf8="no"
echo " Assuming --disable-non-utf8"
enable_skins2="no"
enable_skins2="no"
echo " Assuming --disable-skins2"
echo " Assuming --disable-skins2"
enable_xcb="no"
enable_xcb="no"
...
@@ -926,6 +928,17 @@ fi
...
@@ -926,6 +928,17 @@ 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 enabled)], [
enable_non_utf8="yes"
])
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)])
...
...
src/text/unicode.c
View file @
2555b9ee
...
@@ -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 */
#elif defined (WIN32) || defined (UNDER_CE)
#elif defined (WIN32) || defined (UNDER_CE)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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