Comments (11)
move below line 'setlocale(LC_ALL, "") ' before 'initscr()'
For me (I have en_US.UTF-8), commit eb05306 worked.
Anyway, I'm trying to roll a patch for you to test. I need to run some tests myself. Around half an hour please...
from nnn.
I'm running Debian Stable, my local is en_US.UTF-8
wugq@x220:~/test$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
wugq@x220:~/test$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
The some Chinese fonts can be displayed, but the support is not fully.
Thank you!
from nnn.
Please test with 1e574af
Issue:
- libncursesw is missing on OS X: https://travis-ci.org/jarun/nnn/jobs/222494996
@zmwangx do we need additional instructions to install libncursesw on OS X?
from nnn.
The display of Chinese is correct!
Thank you!
from nnn.
But we have other problems... :)
from nnn.
macOS system libcurses from ncurses 5.4 supports wide characters perfectly here.
Meanwhile, I am able to reproduce the issue on Debian Jessie with 2d7b575.
It is possible to use ncurses 6.0 from Homebrew instead, which does come with libncursesw, but I don't see the need, and it raises the bar of entry on macOS significantly. While I understand your reluctance, I'd say a uname test in the Makefile is the best compromise here.
from nnn.
Yes, some googling gives me a similar idea... Can you please raise a PR tested on OS X? I will check it out on Ubuntu and merge it.
from nnn.
Fixed at 0cc59f7. Thanks @wugq for sharing your findings and making the process quicker!
from nnn.
@zmwangx can you please re-test this? It's been sometime and I've made lots of changes here and there. Just to confirm... whenever you get the time.
from nnn.
@jarun Just tested master and I don't see any problem.
from nnn.
👍
from nnn.
Related Issues (20)
- Ability to cd directly to one-off directories HOT 8
- User / group option not working. HOT 1
- NNN command line forward slash filter command won't allow other commands HOT 18
- Current selection does not change to newly created dir, if current working directory path contains a symlink HOT 2
- Opening the help screen corrupts global variables HOT 4
- Can't get jump to command or autojump plugin to work HOT 3
- Preview-tui plugin throws syntax error HOT 3
- U+E5FF / / question mark box HOT 4
- NNN_TRASH_CUSTOM setting not working HOT 4
- preview-tabbed - zathura not focusing HOT 2
- Nerd fonts cause misaligned columns in detail mode with names first HOT 5
- nnn compiled with nerdfonts not displaying correctly in WSL HOT 2
- NNN broken on master HOT 3
- 'size missing' when trying to preview-tui in tmux HOT 7
- NNN does not close Tmux pane on opening a file while preview HOT 5
- Can't batch rename files which names start with dash '-' HOT 6
- mv: unrecognized option '--cp' HOT 2
- Icons does not work when NNN is opened with -C option HOT 5
- preview-tui: mpv HOT 11
- Syntax error with prescribed split-pane script HOT 7
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 nnn.