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 commit logs from hg repositories get broken #18

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 8 comments
Open

Unicode commit logs from hg repositories get broken #18

GoogleCodeExporter opened this issue Mar 19, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

My old hg project log are in Chinese:

    https://code.google.com/p/zhmakeindex/source/list

But in the new project

    https://github.com/Leo-Liu/zhmakeindex/commits/master

all the Chinese characters are ??? in the log.

Original issue reported on code.google.com by LeoLiu....@gmail.com on 13 Mar 2015 at 8:57

@GoogleCodeExporter
Copy link
Author

That certainly doesn't look right. I'll be sure to forward this issue onto our 
partners in GitHub, as it looks like their Code Importer has some issues 
handling unicode logs. I'll update this issue when this get resolved.

Once fixed you should be able to re-export your project and get your correct 
logs on GitHub.

Original comment by chrsm...@google.com on 13 Mar 2015 at 9:14

@GoogleCodeExporter
Copy link
Author

Original comment by chrsm...@google.com on 13 Mar 2015 at 9:14

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

We have a lot of files with cyrillic characters. All of them are encoded with 
one-byte WIN1251 codepage. How will exporter convert them into Git's UTF-8 
files? I think there must be a code page selection before export start.

Original comment by gs1994@gmail.com on 16 Mar 2015 at 9:24

@GoogleCodeExporter
Copy link
Author

Addition, our project https://code.google.com/p/gedemin/

Original comment by gs1994@gmail.com on 16 Mar 2015 at 9:25

@GoogleCodeExporter
Copy link
Author

@LeoLiu.PKU: The link you posted 
(https://github.com/Leo-Liu/zhmakeindex/commits/master) seems to include 
Chinese characters in the log now. Can you confirm that this bug is still 
happening?

Original comment by jasonhall@google.com on 16 Mar 2015 at 8:49

  • Added labels: Component-ExporterTool, Service-GitHub

@GoogleCodeExporter
Copy link
Author

@jasonhall:

I've no idea. The repository in my project now is a manual conversion from hg 
to git without help of github's import tool. I just converted the repository in 
my computer and pushed it.

Anyway, I will have a try again to see weather it is all fine now.

Original comment by LeoLiu....@gmail.com on 17 Mar 2015 at 12:56

@GoogleCodeExporter
Copy link
Author

@jasonhall:

The importer of GitHub seems still broken:
  https://github.com/leo-liu/leoliu-tex-pkg/commits/master

Original comment by LeoLiu....@gmail.com on 17 Mar 2015 at 1:09

@GoogleCodeExporter
Copy link
Author

Same problem here! All mercurial commit messages shows ???? characters. 

Any one try to switch the repository type to git, and then make the export has 
workaround?

in time, my project: 
https://code.google.com/p/laemcasa/
Exported to:
https://github.com/bpvelloso/laemcasa

Original comment by bpvell...@gmail.com on 17 Mar 2015 at 4:04

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

No branches or pull requests

1 participant