lyungn / support-tools

Automatically exported from code.google.com/p/support-tools
Apache License 2.0
0 stars 0 forks source link

Unicode commit logs from hg repositories get broken #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
Addition, our project https://code.google.com/p/gedemin/

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

GoogleCodeExporter commented 9 years ago
@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

GoogleCodeExporter commented 9 years ago
@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 commented 9 years ago
@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 commented 9 years ago
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