Skip to content

Memory map plugin fails when Linker Command FIle is not UTF-8 (Texas Instruments) #32

Description

@buep

Originally filed as https://issues.jenkins-ci.org/browse/JENKINS-28259 but we use Github issues now.

Reported by Florian Reinhard which also supplied a patch.

Steps to reproduce:

  • use a Linker command file that contains umlauts like öäü
  • save it as with this encoding: cp1252
  • run a build with jenkins
  • now you'll see that jenkins will fail, because it opens the command file as utf-8 and will fail to decode the umlauts

Background:

Texas Instruments C6000 Code generation tools Version 6.1.x can't even use utf-8 encoded linker command files, the linker will fail.

Possible solutions:

  • add some magic to determine the command file encoding
  • let the user define the encoding
  • use the systems default encoding ( java:Charset.defaultCharset() )
  • try utf-8 and ascii (attached patch, low quality, just as a idea)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions