From 4aee2cbeb7f4522fe26a188ef22dc1a3e6fc0aac Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Sat, 12 Nov 2016 20:55:48 +0100 Subject: [PATCH] GH-337 Temporarily disable LANG --- SwiftNeoVim/NeoVimAgent.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SwiftNeoVim/NeoVimAgent.m b/SwiftNeoVim/NeoVimAgent.m index df16c4e0..b2046eba 100644 --- a/SwiftNeoVim/NeoVimAgent.m +++ b/SwiftNeoVim/NeoVimAgent.m @@ -130,12 +130,12 @@ static CFDataRef local_server_callback(CFMessagePortRef local, SInt32 msgid, CFD #endif // Set $LANG to en_US.UTF-8 such that the copied text to the system clipboard is not garbled. - NSMutableDictionary *environment = _neoVimServerTask.environment.mutableCopy; - if (environment == nil) { - environment = NSMutableDictionary.new; - } - environment[@"LANG"] = @"en_US.UTF-8"; - _neoVimServerTask.environment = environment; +// NSMutableDictionary *environment = _neoVimServerTask.environment.mutableCopy; +// if (environment == nil) { +// environment = NSMutableDictionary.new; +// } +// environment[@"LANG"] = @"en_US.UTF-8"; +// _neoVimServerTask.environment = environment; _neoVimServerTask.standardInput = inputPipe; _neoVimServerTask.currentDirectoryPath = NSHomeDirectory();