Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Problem with non-ascii? (bzr)

Hi!

Thanks a thousand for the bzr support! It's a very welcome addition.

There seems to be a problem with non-ascii characters, though.

See the recycloid commit for revision 5. The '?' in contributor name and the commit message itself should be 'ä' (that's a with dots, if your font lacks support for it).

In the branch, when I do bzr log --rev 5, I can see my name and the log message properly. I think it's UTF-8 encoded.

Please let me know if I can help somehow.

-mikko

Mikko Värri almost 17 years ago
 

Hmm, the single '?' for the 'ä' indicates that there might have been some iso (latin1 or so) encoding somewhere in between.

Michael Adam almost 17 years ago
 

I think I've gotten to a rough solution for this issue.

On our code analysis servers, we set the locale with LC_CTYPE='en_US.UTF-8'. This is enough to make our previous source control systems happy.

However, it seems that this isn't sufficient for Bazaar. To get Bazaar to pick up the characters properly, I had to also set LC_ALL='en_US.UTF-8'. This is pretty heavy-handed. Does anyone know a more elegant way to do this?

I've reimported Recycloid with the above fix in place. If there are other affected projects, let me know, and I'll reimport them as well

Thanks for the very helpful bug report,

Robin

Robin Luckey almost 17 years ago
 

Hm, interesting.

I've got my boxes (Debian and Slackware) setup with LANG=en_US.UTF-8 and that seems enough. From the LC family I've only got LC_COLLATE=C on the Slackware box.

Thanks for fixing the issue so fast!

Mikko Värri almost 17 years ago
 

Thanks MIkko -- I'll do some experimenting with the LANG setting.

And issues like this benefit from fast fixes -- at the pace we're downloading new Bazaar commits (over 100,000 since we announced on Monday), it really pays to get it right the first time :-).

Robin Luckey almost 17 years ago