From c5cd1726dd63f4df8d91d4307c43dff8d0627dcf Mon Sep 17 00:00:00 2001 From: thek4n Date: Wed, 4 Feb 2026 11:19:41 +0300 Subject: [PATCH] fix non-ascii in json func --- home/user/.local/bin/json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/user/.local/bin/json b/home/user/.local/bin/json index 17d414e..1593b6c 100755 --- a/home/user/.local/bin/json +++ b/home/user/.local/bin/json @@ -2,7 +2,7 @@ set -eu if [ -t 0 ]; then - echo "${@}" | python -m json.tool + echo "${@}" | python3 -m json.tool --no-ensure-ascii else - python -m json.tool + python3 -m json.tool --no-ensure-ascii fi