Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
fsevents: support japaneese characters in path
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbank authored and indutny committed Nov 2, 2013
1 parent f996018 commit 3780e12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/unix/fsevents.c
Expand Up @@ -223,9 +223,7 @@ int uv__fsevents_init(uv_fs_event_t* handle) {
handle->realpath_len = strlen(handle->realpath);

/* Initialize paths array */
path = CFStringCreateWithCString(NULL,
handle->filename,
CFStringGetSystemEncoding());
path = CFStringCreateWithFileSystemRepresentation(NULL, handle->filename);
paths = CFArrayCreate(NULL, (const void**)&path, 1, NULL);

latency = 0.15;
Expand Down

0 comments on commit 3780e12

Please sign in to comment.