我想在Angular 8应用程序的toastr中显示我的http错误消息.一切正常,除了消息包含特殊字符(语言为法语).下面的祝wine 词应该显示:"Pas de ressource attachée à ce domaine".
下面是我在共享模块中的配置:
imports: [
CommonModule,
BrowserAnimationsModule,
ToastrModule.forRoot({
positionClass: 'toast-top-center',
timeOut: 10000,
preventDuplicates: true,
resetTimeoutOnDuplicate: true
})
],
有没有一种方法可以帮助toastr显示这些字符?