Comments (3)
Hi @Serenade600, I suspect that this issue is not specific to Chinese characters but to Windows and Powershell (fatih/color#169) because I couldn't reproduce it on Linux. Therefore I upgraded a dependency to apply a patch (https://github.com/fatih/color/releases/tag/v1.15.0) and created a new release for the CLI (v0.15.1).
Could you try to upgrade to the latest version of the CLI (v0.15.1) and try again?
from dnote.
Hi @sungwoncho. I tried the latest CLI v0.15.1. The output of dnote view working_summary
was like
. Compared to v0.15.0, the output improves. The squares and 33m around [---More---] disappeared. But the first three characters of first line is still lost. The output of dnote view 11
seems correct like
• book name: working_summary
• created at: Jan 29, 2024 11:54pm (CST)
• updated at: Jan 30, 2024 12:11am (CST)
• note id: 11
• note uuid: 283219e8-26da-4694-b0ae-350fcc574465
------------------------content------------------------
这是第一条工作总结了。
这个工具看起来还是不错的。
-------------------------------------------------------
from dnote.
Thanks for trying the new release. I suspect that this issue is related to how Dnote interacts with Powershell. Below is what it should look like in Linux:
dnote v testbook
• on book testbook
(1882) 这是第一条工作总结了。 [---More---]
dnote v 1882
• book name: testbook
• created at: Feb 10, 2024 10:48am (AEDT)
• note id: 1882
• note uuid: 5262d719-e15a-4225-a8a8-502aeee6a7ed
------------------------content------------------------
这是第一条工作总结了。
这个工具看起来还是不错的。
-------------------------------------------------------
I went through the source code (https://github.com/dnote/dnote/blob/master/pkg/cli/cmd/ls/ls.go) but found no smoking gun at this point. I will keep this issue open and await any feedback from Powershell users.
from dnote.
Related Issues (20)
- How to install 32bits? HOT 1
- Internal Server Error When Syncing Notes HOT 1
- 403 when using dnote sync HOT 1
- Response 429 "Too many requests" again. HOT 1
- web interface HOT 1
- darwin_arm64 cli binary is broken? HOT 5
- Use OnPremises rather than OnPremise
- GPG encryption HOT 1
- Allow to disable upgrade check HOT 3
- Simplify by removing dependency on Cobra HOT 1
- homebrew install broken HOT 1
- How do I have dnote.exe on Windows connect to a dnote docker host? HOT 1
- Error relocating dnote, need musl(libc) release HOT 4
- Error: request() got an unexpected keyword argument 'chunked' HOT 1
- Autocompletion zsh script appears to be faulty HOT 2
- please provide an configuration option to change the location of dnote database HOT 1
- what about adding an option for simple auth for home server such as basic auth HOT 2
- Question: Find partial match HOT 1
- remove web interface part in makefile 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 dnote.