Created
January 27, 2015 08:38
-
-
Save mikeyjk/cdc750fd8f2d36ac0628 to your computer and use it in GitHub Desktop.
FogBugz diff screen file path contains erroneous characters (Issue may be exclusive to Win7 + Chrome with *nix VM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# work around for fogbugz diff screen | |
function toAscii() { | |
vim $(echo $1 | iconv -t ascii//TRANSLIT) | |
} | |
alias vimc='toAscii' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is for an issue I encountered using Fogbugz/Kiln: when the file path on the diff screen is copied to clipboard it contains characters that will break commands in terminal, such as cd, cat, vim etc. etc.
"It's not an error with Kiln, it's a disagreement between Chrome and Windows 7 on how they should represent the characters Kiln has encoded. This one might require the use of a workaround such as deleting extraneous characters or copy-pasting into a middle software such as Notepad++, as a cure on our end may break other things and be worse than the disease."
Invocation would be: