TrelloExport
TrelloExport copied to clipboard
HTML exporting worng charset
Output HTML export file function is writing down all ISO 8559-1 chars instead UTF-8. I'm using Ubunt 21.04, both Chrome and Firefox browsers. Page loads fine but export result file is poluted by substituitions.
@alansenairj can you show me an example?
Yes. The problem is markdown conversion when someone put code on Trello card. Export Results:
Original card:
Markdown text:
Comandos Básicos do GIT
Iniciar um repositório
Esse comando irá transformar um diretório simples em um repositório git.
$ git init
Git config
É possível alterar algumas configurações do git como o editor, paginador, usuário, email, seguem alguns exemplos:
Para alterar as configurações para todos os repositórios utilizar a flag --global
após a opção config
Mudando o paginador do comando "less" para o comando "cat"
$ git config core-pager cat
Mudando as informações de usuário
II'm using python to convert markdown export instead HTML.
@alansenairj will try to understand what I can do; if you open the resulting HTML in the browser isn't it properly shown? Eventually tell us what're doing with python, maybe the trick can help somebody else :-)
Yes. It shows wrong caracters cause conversion from markdown are not working well. When some one put a code on Trello markdown uses ''' for exemple. Parsing code from a card using some markdown quotation to represent that code is doing wrong output as I showed on last post. I'm doing a conversion from your export in markdown format and then using python module for better results. It is a simple code.
import markdown file = input(" digite o nome do arquivo" ) markdown.markdownFromFile(input= file, output='IAC.html' )
Using this module I'm get rid of ISO 8559-1 chars and codes apears more cleaner but I need to mount HTML tags to represent yaml identation.
HTML export cannot deal with codes written in Trello cards. That's the problem.