# command line switches to turn Unicode on/off

- Thread: https://externals.io/message/30058
- Original archive: https://news-web.php.net/php.internals/30058
- Started by Antony Dovgal on 2007-06-05T08:54:21+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #30058 — Antony Dovgal — 2007-06-05T08:54:21+00:00

URL: https://externals.io/message/30058#30058

Hello all.

I'd like to propose a small patch adding two command line switches to CLI (HEAD):
-U - turn Unicode mode on
-N - turn Unicode mode off

Typing "-d unicode.semantics=1" or "-d unicode.semantics=0" is annoying, 
so I would really like to see these shortcuts added.
I'll port it to CGI later if there are no objections.

The patch:
http://dev.daylessday.org/diff/unicode_switches.diff

-- 
Wbr, 
Antony Dovgal

---

## #30062 — Pierre — 2007-06-05T09:12:34+00:00

URL: https://externals.io/message/30058#30062 · In reply to: #30058

> Hello all.
>
> I'd like to propose a small patch adding two command line switches to CLI (HEAD):

Very good idea!

> -U - turn Unicode mode on
> -N - turn Unicode mode off

What's about:

long: --unicode (0|off)/(1/on)
short: -u (0|off)/(1/on)

I prefer one option for one purpose.

--Pierre
