Comments (14)
anybody can help me
from tabulate.
from tabulate.
Hello. Please provide a clear reproducible example - some snippet of code that I can run.
Detail what exactly doesn't work and how I can reproduce the issue.
If it is already reported in a different issue, then this would be considered a duplicate.
What compiler are you using? What version of tabulate
are you using?
Please provide clear details when you open issues - otherwise, it is hard to provide any support.
from tabulate.
@p-ranav
I have used the MSVC compiler and MinGW compiler. Only the Windows platform has the following problems:
- Some special characters, such as {"ᛏᚺᛁᛊ ᛁᛊ ᚨ ᛊᛏᛟᚱy ᛟᚠᚨ ᛒᛖᚨᚱ ᚨᚾᛞ\n"}, cannot be displayed on the Windows console. Garbled characters are displayed.
- Functions such as bold fonts, underline characters, and blinking characters cannot be implemented.
The test code I used was the test code you provided.
And when I ported the code to the linux operating system, compiled and run, there was no such problem. On the one hand, I know that the Linux console uses UTF-8 encoding by default and Windows uses ANSI, and when I change the Windows console encoding format to UTF-8, the above special characters still cannot be displayed.
from tabulate.
https://github.com/p-ranav/tabulate
from tabulate.
you provided
from tabulate.
from tabulate.
from tabulate.
no underline and cannot display the special character.
from tabulate.
from tabulate.
There are a number of pages online regarding how to change Windows cmd settings in order to view unicode characters. I'd suggest that you look through these documents to figure out how to change (1) font, e.g, Lucida Console, (2) console code page, to be able to print and see unicode characters.
This is imo more of a problem with Windows defaults for its command line and has less to do with tabulate.
from tabulate.
If it's only a coding problem, why can't underline and blink on windows os? Are these also coding issues?Although I find that some problem can be solved by changing the code page and true type front.
from tabulate.
from tabulate.
help!@p-ranav
from tabulate.
Related Issues (20)
- Release 1.5 is backward incompatible HOT 1
- How to print std::vector<std::string> into a row? HOT 3
- How do I acheive this table formatting? HOT 1
- How do I initialize an n*m Table? HOT 1
- Correct table filled area shape method
- you are pulling 'std::variant' into the global namespace (bad idea) HOT 2
- Support Unicode box drawing
- std::locale::global is unsafe
- After using print_table function, stream style is not correct HOT 1
- Printing to stringstream and retaining formatting HOT 1
- Print strings with newlines and indentation HOT 3
- Option to not strip leading (or trailing) whitespace in line-wrapped text? HOT 1
- Add option to remove entire columns
- Tableau c++ graphique
- Combining live-refresh tabulate + indicators
- How to write black text when Color::black does not exist
- Nested tables, how to support different colors for different grids HOT 1
- How can i indent the table ? HOT 1
- Hitting some compilation errors (shadow variable, implicit cast) HOT 1
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 tabulate.