On 10/21/13 5:38 AM,
larry_...@hotmail.com wrote:
> <<SNIP>> My PC (Windows XP) primary language is English, and have
> added Japanese.
>
> PC5250 Emulator
> English session *DEVD is 3477, configured with host page 037.
>
> Japanese session *DEVD is 5555, configured with host page 939.
>
> At some point, I will need to do Chinese, and “maybe” Korean….
>
> my questions are:
> How can I input hex into a PC command line?
> Can I get it NOT to convert using STRPCCMD ?
> <<SNIP>>
IMO these are improper questions, because together they imply an
intention of not resolving the problem, but an intention of defeating
the intended function of the software. Besides, what the Windows
command shell can accept as a means to provide hex [or perhaps octal]
encoded characters in its command-strings, and if even such syntax would
be acceptable as the parameter-data of the NET USE that defines the UNC,
is probably best asked at a Microsoft Windows forum; i.e. a more
appropriate audience.
What specific version of the PC5250 is being used, both the Software
product [e.g. PCOMM or Client Access] and what software version\release
and revision\package level? There have been past fixes for Code Page
939 [kwd: CP939 also noted as HCP939 for Host Code Page 939].
For an attempt at a circumvention, try passing the hex code point
0xB2 instead of 0xE0... irrespective of the glyph that appears when
entered; i.e. ignoring that the backslash may not be the glyph in the PC
Command (PCCMD) string on the STRPCCMD request, issue that request
anyhow, to test the effect.
Also would it be possible to issue the following request from both
the English and Japanese sessions, each respectively, and then obtain
the hex string of the binary data in the output file named; i.e. the
/file/ data should *not* be reviewed as text-data, but as a string of
non-text bytes:
strpccmd pccmd('echo "\\ISERIES\MYSHARE" > 400data.eng.txt')
strpccmd pccmd('echo "\\ISERIES\MYSHARE" > 400data.jpn.txt')
--
Regards, Chuck