Skip to content

Commit

Permalink
Move the UTF-16 git hint to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
dulacp committed Dec 9, 2015
1 parent 60e698d commit eca17b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Job done for language: ./MyXcodeProjectDir/en.lproj
Job done for language: ./MyXcodeProjectDir/fr.lproj
```

## Hints

By default `git` won't display diff for `.string` files encoded in UTF-16. However, you can [turn on UTF-16 diffs](http://blog.xk72.com/post/31456986659/diff-strings-files-in-git) if you want to.

## Known Issues

* genstrings doesn't like path containing spaces, so avoid subfolders containing spaces.
Expand Down
5 changes: 0 additions & 5 deletions igenstrings/parser.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# -*- coding: utf-8 -*-

"""
NB: to configure git so that it reads the UTF-16 diffs follow the instructions on this article
http://blog.xk72.com/post/31456986659/diff-strings-files-in-git
"""

from sys import argv
from codecs import open
from re import compile
Expand Down

0 comments on commit eca17b8

Please sign in to comment.