Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular 2 typescript Unicode(Arabic) text support

I having trouble while using typescript and Angular 2 it was working fine like this :

but when adding Unicode text "arabic" i'm getting this

The html file is fine stand-alone but after compinge

My TypeScript config file tsconfig.json

            {
              "compilerOptions": {
                "module": "commonjs",
                "target": "es5",
                "sourceMap": false,
                "emitDecoratorMetadata": true,
                "experimentalDecorators": true,
                "noLib": false
              },
              "exclude": [
                  "node_modules"
              ]
            }

-- Help , Any idea : I tried google and the Anglular docs !

like image 661
Mohamed Elrashid Avatar asked Feb 03 '26 18:02

Mohamed Elrashid


1 Answers

This looks like an Angular issue.

See also - https://github.com/angular/angular/issues/6036

There seems to be a pull request for a similar case. Not sure if this fixes your issue as well.

like image 107
Günter Zöchbauer Avatar answered Feb 06 '26 08:02

Günter Zöchbauer