Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode characters in path #111

Open
trosendal opened this issue Mar 6, 2015 · 2 comments
Open

Unicode characters in path #111

trosendal opened this issue Mar 6, 2015 · 2 comments

Comments

@trosendal
Copy link
Contributor

Wow, this package is great! Thanks for all the hard work 👍

I have a problem discovering a repository that has non-ascii characters in the path:

dir.create("öäå")
discover_repository("öäå")

Error in 'git2r_repository_discover': Failed to resolve path 'öäå': No mapping for the Unicode character exists in the target multi-byte code page.

I can't find the latter part of the error message in 'git2r' of 'libgit2' so I suppose it's coming from the OS.... Any ideas?

@trosendal
Copy link
Contributor Author

And here's my session info if that plays a role:

sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=Swedish_Sweden.1252  LC_CTYPE=Swedish_Sweden.1252   
[3] LC_MONETARY=Swedish_Sweden.1252 LC_NUMERIC=C                   
[5] LC_TIME=Swedish_Sweden.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] git2r_0.6

loaded via a namespace (and not attached):
[1] compiler_3.0.2 tools_3.0.2 

@stewid
Copy link
Member

stewid commented Mar 6, 2015

@trosendal Thanks for reporting this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants