summaryrefslogtreecommitdiff
path: root/doc/forum/Privdata_corrupted_when_spinning_from_macOS
diff options
context:
space:
mode:
authormithrandi2018-08-15 19:15:21 +0000
committeradmin2018-08-15 19:15:21 +0000
commit34093bd6a70afd67ed2e027fb9f8a642f698267d (patch)
tree3ea333a5cf36b4610384b47ac40c05dd5216b1e9 /doc/forum/Privdata_corrupted_when_spinning_from_macOS
parent28ba062af48f8f8fbdaf5abf2b0e7d4a71c6ad2e (diff)
Added a comment
Diffstat (limited to 'doc/forum/Privdata_corrupted_when_spinning_from_macOS')
-rw-r--r--doc/forum/Privdata_corrupted_when_spinning_from_macOS/comment_3_c51e4ae44dc6401af54f109f2cb70995._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/Privdata_corrupted_when_spinning_from_macOS/comment_3_c51e4ae44dc6401af54f109f2cb70995._comment b/doc/forum/Privdata_corrupted_when_spinning_from_macOS/comment_3_c51e4ae44dc6401af54f109f2cb70995._comment
new file mode 100644
index 00000000..05b5956b
--- /dev/null
+++ b/doc/forum/Privdata_corrupted_when_spinning_from_macOS/comment_3_c51e4ae44dc6401af54f109f2cb70995._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="mithrandi"
+ avatar="http://cdn.libravatar.org/avatar/869963bdf99b541c9f0bbfb04b0320f1"
+ subject="comment 3"
+ date="2018-08-15T19:15:21Z"
+ content="""
+I tried this patch:
+
+```
+--- a/src/Propellor/Spin.hs
++++ b/src/Propellor/Spin.hs
+@@ -181,6 +181,8 @@ getSshTarget target hst
+ -- running the updateServer
+ update :: Maybe HostName -> IO ()
+ update forhost = do
++ hPrint stderr =<< hGetEncoding stdin
++ hSetEncoding stdin utf8
+ whenM hasGitRepo $
+ req NeedRepoUrl repoUrlMarker setRepoUrl
+```
+
+I get `Just ANSI_X3.4-1968` from the remote side but unfortunately the corruption persists.
+"""]]