View Issue Details

IDProjectCategoryView StatusLast Update
0023965mantisbthtmlpublic2018-02-12 08:47
ReporterRuzhelovich Vladimir Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0023965: Preview text files on encoding custom setting
Description

We need that the file will be cp2151 encoding.
The previewing occurs utf8 encoding.

Is it possible to add a custom setting to determine the encoding of attachment files?

TagsNo tags attached.

Activities

atrol

atrol

2018-02-12 08:47

developer   ~0058838

Is it possible to add a custom setting

Certainly possible, but will not solve the case where more than one encoding is used in attachments.

Submitting a patch is always a good idea, as it increases the chances of improvement eventually making it into MantisBT core. All contributions are welcome and greatly appreciated.

Patch submissions can be made in several ways. In the order of preference:

  1. Send us a Pull Request on our Github repository [1]
  2. Attach a GIT patch to the issue
  3. Attach a Unified Diff, clearly specifying the patch's base release

Kindly avoid to upload entire modified PHP files.

Please make sure that your submissions adhere to our Coding Guidelines [2], if they don't your patch might be rejected.

[1] https://github.com/mantisbt/mantisbt
[2] http://www.mantisbt.org/wiki/doku.php/mantisbt:coding_guidelines