You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 1
Insert Unicode strings (let's say Chinese) as comments before import block;
Step 2
Run any generate command, such as:
ng generate component TestUnicode
Step 3
Open app.module.ts, you will find Angular-CLI inserted the new import phrase at wrong location instead of appending it at the end of import block;
Step 4
Remove Unicode commend, the Earth rotates again.
Observed behavior
Desired behavior
Please notify new Angular developers Unicode/UTF-8 is not fully supported by Angular-CLI;
I wish Angular-CLI support Unicode comments in app.module.ts in the future.
Mention any other details that might be useful (optional)
The text was updated successfully, but these errors were encountered:
Versions
Repro steps
Insert Unicode strings (let's say Chinese) as comments before
import
block;Run any generate command, such as:
Open
app.module.ts
, you will find Angular-CLI inserted the new import phrase at wrong location instead of appending it at the end ofimport
block;Remove Unicode commend, the Earth rotates again.
Observed behavior
Desired behavior
app.module.ts
in the future.Mention any other details that might be useful (optional)
The text was updated successfully, but these errors were encountered: