Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,095
    • Issues 2,095
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #39282
Closed
Open
Created Jul 22, 2021 by FPC Admin account@fpc_adminOwner

FPDoc Editor in Lazarus changes encoding and line endings a as soon as XML file is opened

Original Reporter info from Mantis: avra @zeljkoavramovic
  • Reporter name: Zeljko Avramovic

Description:

FPDoc Editor in Lazarus changes encoding and line endings a as soon as XML file is opened. Encoding is changed from "ISO-8859-1" to "UTF-8" and many line endings are inserted. This means that generated FPDOC XML documentation patch will be huge and probably rejected.

Steps to reproduce:

I wanted to update sysutils FPDOC documentation from Lazarus IDE FPDOC Editor. When I clicked in Code Editor on method name (for example on HighestSetBitPos or ToHexString in TByteHelper), I see description in Lazarus FPDoc Editor and I can change them.

However as soon as I do this, original sysutils.xml encoding is changed from "ISO-8859-1" to "UTF-8", and many additional line endings get inserted (but only on specific tags - not all) as could be seen in attached screenshot. This means that after I make the needed changes, generated patch will be huge and probably rejected.

I tried to do this with 32bit fpcupdeluxe based trunks of both fpc and laz, on Win10 x64.

Mantis conversion info:

  • Mantis ID: 39282
  • OS: Windows
  • OS Build: 10
  • Build: 2021-07-13
  • Platform: x64
  • Version: 2.3 (SVN)
Assignee
Assign to
Time tracking