Menu

#2032 DBCS(DoubleByteCharacterSet) bug found Win64 rel-5.1.0

5.2.0
open
nobody
None
none
5
2025-09-22
2025-09-21
No

I've been suffering file copy of DBCSfile name file, I made test rexx routine, greatly appreciate if it fixed.
Usually we Japanese use DBCSfilename file, if REXX works without error, it's great, otherwise I have to study Python, I don't want it, because I'm already 80 years old, I had worked IBM Japan more than 40 years.

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2025-09-21

    Hi Takeshi,
    your sample code submitunit.rex references an unassigned variable "TSTUNIF" in
    21 *-* rc=sysfilecopy(tstunif,unif);

    In general, ooRexx does not support DBCS or Unicode on Windows, that is, it does not call the Windows "Wide" (W-) APIs.

    You might be able to achieve what you want, by enabling the Windows Beta UTF-8 setting as described in the first "Note" at
    https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page

    This changes Windows to use UTF-8 for both the Console and Windows itself, but it may have unwanted side effects for you.

    Once Beta UTF-8 is enabled,
    say SysFileCopy('あ.tmp', 'utf.tmp')
    will work.

     
  • Anonymous

    Anonymous - 2025-09-22

    Thank you very much so quick response. I set my win 11 PC as you suggested for dbcs character support, then confirmed sysfilecopy of dbcs character(s) filename copied successfully. I believe that the malfunction of C2X will be corrected in future release. Thank you again. Takeshi Sakai

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB