Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

About using double-byte characters in scm command line

Hi all,
I need to use Japanese in scm command line.
I tried the following two subcommand. One went well, while another didn't.
'scm changeset relocate 1000 <Japanese file or folder name>' worked fine, but 'scm share -r xxx -u xxx repositry_wksc <Japanese folder name>' failed.
(When I used English folder name, it worked fine.)

I'm using RTC v4.0.
Does anybody have any information?
Thanks in advance.

0 votes



One answer

Permanent link
There is probably a number of things that could go wrong here, but on windows the scm launcher generally needs to convert  multibyte characters it it receives on the command line into wide unicode characters.

It does this using the function <tt>MultiByteToWideChar</tt> using <tt>CP_ACP</tt>, the system default Windows ANSI code page.  You probably need to set your default code page to something that supports Japanese.

You can try using <tt>chcp</tt> to change the active console code page, perhaps to 932.  Or else change Window's Regional and Language Options to specify Japanese.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Jul 31 '12, 8:58 p.m.

Question was seen: 5,447 times

Last updated: Aug 01 '12, 11:27 a.m.

Confirmation Cancel Confirm