Comments (10)
ok, I am looking this problem today
from colorer-library.
see https://github.com/colorer/Colorer-library/blob/master/CHANGELOG.md
'Remove working with different charsets. Input files only in Unicode, output only in UTF-8.'
input Unicode string detecting on BOM. Default UTF-8 without BOM.
from colorer-library.
Ah, good, it is intended. One more issue then, one moment.
from colorer-library.
I use colorer for converting files to HTML with colors
colorer.exe -h -dc -c $Catalog -i visual-rgb $From
1.1.0 outputs data with extra warning/info and then BOM and converted text:
[2021-02-28 06:40:54.711] [warning] Duplicate prototype 'text' я╗┐
<normal converted text>
When I output this to a file and open it, it's a problem that BOM is not the first there.
What is this warning? Can I suppress it?
from colorer-library.
And yes, I have my own prototype 'text' which is "duplicated" by design, it replaces the default prototype with my custom.
from colorer-library.
several solutions
- disable logging by adding
-el off
- output result to file by
-o file.html
from colorer-library.
I will try to add the option 'disable output logging to stdout'
from colorer-library.
disable logging by adding -el off
It seems it does not help.
output result to file by -o file.html
It will probably help, I'll try. The disadvantage is that I need an extra temp file for this.
(I output to a file anyway but before that I need to post-process colorer stdout output)
I will try to add the option 'disable output logging to stdout'
That would be good.
from colorer-library.
fix, please check it. https://github.com/colorer/Colorer-library/releases/tag/v1.1.1
from colorer-library.
Works fine, super, thank you!
from colorer-library.
Related Issues (13)
- Система логирования HOT 2
- Мысли вслух - консольный colorer.exe и поиск catalog.xml по относительным путям или симлинками HOT 9
- Colorer.exe v1.0.5 Git-2cf327d - утилита не подхватывает схемы HOT 4
- crash on invalid jar location
- Реализовать "дерево" парсинга HOT 1
- поиск схем идет по всем файлам
- crash if catalog.xml on fat32 HOT 2
- error: taking the address of a temporary object of type 'DString' HOT 1
- Port of console tool to NaCl for easy rule testing in browser HOT 2
- Announce migration to GitHub HOT 2
- логирование
- Colorer.exe not producing correct UTF-8 as output HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorer-library.