Menu

issue with convertcp

Thomas
2020-04-05
2023-08-22
  • Thomas

    Thomas - 2020-04-05

    Hello all,
    I've downloaded and tested this programm. It does not work as desired for me.
    My command line is:
    convertcp 28591 650001 /i "Quell-DCM.dcm" /o "Quell-DCM.dc_.dcm"

    The output is the help message.
    What's wrong? Anybody had equal experiences?

    regards

     
    • Steffen

      Steffen - 2020-04-05

      Hello Thomas,

      The reason is that 650001 is an invalid code page. In case you want to convert to UTF-8 use codepage 65001 (with only two zeros) or just pass "UTF-8" instead of the numeric value.

      Hope this helps
      Steffen

       
  • Thomas

    Thomas - 2020-04-06

    Sorry for that,
    and thank you for the help. Typo - like so often.
    Have a nice day.

     
    • Steffen

      Steffen - 2020-04-06

      You're welcome. I'm happy if the tool is helpful for you.

      Steffen

       
  • Anonymous

    Anonymous - 2020-04-23

    Unrelated to this topic , Steffen. I wanted to thank you for your vbs script on cng2jpg in 2018. Life saver!
    - Gerhard

     
    • Steffen

      Steffen - 2020-04-24

      Haha, yeah I recall that I wrote that piece of code. Although I can't even tell anymore where I ever published it. However, glad to hear it's still helpful.

      Steffen

       
  • Anonymous

    Anonymous - 2023-02-14

    I discovered this download is detected by AV as containing a threat:
    Artemis!CAF5EB764F2F

     
  • Anonymous

    Anonymous - 2023-08-22

    Hi Steffen,
    searching for a solution to run convertcp with "*" in the filename. (because the filename changes every day)
    convertcp 65001 1252 /i "SFSF_TO_Remedy_*.csv" /o "chris1252.asc"
    this does not find the source file although existing....
    Martin

     

    Last edit: Steffen 2023-08-22
    • Steffen

      Steffen - 2023-08-22

      Hi Martin,

      I updated your post to make the asterisks visible that have been interpreted as Markdown elements for italic formatting ...

      Have a look at the Wiki
      https://sourceforge.net/p/convertcp/wiki/Home/#db55 ff
      While CONVERTCP doesn't support globbing (i.e. searching filenames with wildcard characters), all shell scripting languages that I'm aware of do support it. Unfortunately you didn't tell what kind of Shell script you're using to call CONVERTCP. In case of Windows Batch, the command line would look like so:
      for %%i in ("SFSF_TO_Remedy_*.csv") do convertcp 65001 1252 /i "%%~i" /o "chris1252.asc"

      Steffen

       

      Last edit: Steffen 2023-08-22

Anonymous
Anonymous

Add attachments
Cancel