clean up
This commit is contained in:
parent
cecb1cbeb2
commit
c7b0f60fba
1 changed files with 2 additions and 2 deletions
|
@ -397,8 +397,8 @@ encodeGitFile s = (foldl (++) "\"" (map echar s)) ++ "\""
|
|||
where
|
||||
showoctal i = "\\" ++ (printf "%03o" i)
|
||||
e_num c = showoctal $ ord c
|
||||
-- unicode character is decomposed to Word8
|
||||
-- and each is shown with e_num
|
||||
-- unicode character is decomposed to
|
||||
-- Word8s and each is shown in octal
|
||||
e_utf c = foldl (++) "" $ map showoctal $
|
||||
(encode [c] :: [Word8])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue