Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
dd35ada4
Commit
dd35ada4
authored
Aug 22, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "src: Fix for Mac OS X filesystem filename encoding"
This reverts commit
0970461e
.
parent
f6e72409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
src/text/url.c
src/text/url.c
+0
-14
No files found.
src/text/url.c
View file @
dd35ada4
...
...
@@ -32,7 +32,6 @@
#include <vlc_common.h>
#include <vlc_url.h>
#include <vlc_charset.h>
#include <vlc_fs.h>
#include <ctype.h>
...
...
@@ -171,19 +170,6 @@ char *vlc_path2uri (const char *path, const char *scheme)
path
=
p
;
#endif
#if defined( __APPLE__ )
/* Mac OS X uses Unicode for their files and folder name with HFS+:
* Unicode Normalization Form D (NFD) (with some modification).
* But simply converting to NFC causes some problem.
* So using UTF-8-MAC, encoding for HFS+, to convert to UTF-8.
*
* Note: UTF-8-MAC is only implemented for built-in iconv on Mac OS X.
*/
char
*
psz_tmp_path
=
FromCharset
(
"UTF-8-MAC"
,
path
,
strlen
(
path
));
strcpy
((
char
*
)
path
,
psz_tmp_path
);
free
(
psz_tmp_path
);
#endif
#if defined( _WIN32 ) || defined( __OS2__ )
/* Drive letter */
if
(
isalpha
((
unsigned
char
)
path
[
0
])
&&
(
path
[
1
]
==
':'
))
...
...
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