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
7c39812c
Commit
7c39812c
authored
Aug 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default for --enable-non-utf8
parent
85a61b6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
configure.ac
configure.ac
+2
-2
src/text/unicode.c
src/text/unicode.c
+1
-1
No files found.
configure.ac
View file @
7c39812c
...
@@ -903,8 +903,8 @@ AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
...
@@ -903,8 +903,8 @@ AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
dnl Manual switch for UTF-8
dnl Manual switch for UTF-8
AC_ARG_ENABLE(non-utf8,
AC_ARG_ENABLE(non-utf8,
[ --enable-non-utf8 Legacy non-UTF-8 systems support (default disabled)], [
[ --enable-non-utf8 Legacy non-UTF-8 systems support (default disabled)],
,
[
AS_IF([test "${SYS}"
!= "mingw32" -a "${SYS}" !
= "mingwce"], [
AS_IF([test "${SYS}"
= "mingw32" -o "${SYS}"
= "mingwce"], [
enable_non_utf8="no"
enable_non_utf8="no"
])
])
])
])
...
...
src/text/unicode.c
View file @
7c39812c
...
@@ -173,7 +173,7 @@ char *ToLocale (const char *utf8)
...
@@ -173,7 +173,7 @@ char *ToLocale (const char *utf8)
#ifdef ASSUME_UTF8
#ifdef ASSUME_UTF8
return
(
char
*
)
utf8
;
return
(
char
*
)
utf8
;
#else
#else
return
utf8
?
locale_
fast
(
utf8
,
false
)
:
NULL
return
utf8
?
locale_
dup
(
utf8
,
false
)
:
NULL
;
#endif
#endif
}
}
...
...
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