fsevents: support japaneese characters in path
This commit is contained in:
parent
f9960184fd
commit
3780e12823
@ -223,9 +223,7 @@ int uv__fsevents_init(uv_fs_event_t* handle) {
|
|||||||
handle->realpath_len = strlen(handle->realpath);
|
handle->realpath_len = strlen(handle->realpath);
|
||||||
|
|
||||||
/* Initialize paths array */
|
/* Initialize paths array */
|
||||||
path = CFStringCreateWithCString(NULL,
|
path = CFStringCreateWithFileSystemRepresentation(NULL, handle->filename);
|
||||||
handle->filename,
|
|
||||||
CFStringGetSystemEncoding());
|
|
||||||
paths = CFArrayCreate(NULL, (const void**)&path, 1, NULL);
|
paths = CFArrayCreate(NULL, (const void**)&path, 1, NULL);
|
||||||
|
|
||||||
latency = 0.15;
|
latency = 0.15;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user