symfony / symfony/maker-bundle
Ansi Color and strange characters
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 427
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 20
Description
Hi, I have the following issue on Windows with cmd and phpStorm terminal. I try to reinstall wamp and composer but nothing work. On my second computer php cli work perfectly so I think I miss something.
Description
When you wrote make:entity or make:form (maybe more command do the same issue) I got strange character like this :

--no-ansi remove a part of strange character but not all :
Examples
With make:entity :

You can see colors work with the first sentence but not works after the input
With make:entity and --no-ansi :

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing make:entity and make:form in Windows cmd and the PhpStorm terminal, both with and without --no-ansi, and compare their output. Done means these commands no longer display strange characters while preserving the intended color behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100