Skip to content

Commit

Permalink
fix: setting UTF8 in response for JS files on SAS 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Bowe committed Jul 19, 2021
1 parent b46d725 commit 8f066e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/web/sasjsout.ts
Expand Up @@ -41,7 +41,9 @@ export const sasjsout = `
%end;
%else %do;
%if &type=JS or &type=JS64 %then %do;
%let rc=%sysfunc(stpsrv_header(Content-type,application/javascript));
%let rc=%sysfunc(stpsrv_header(
Content-type,application/javascript%str(;)charset=UTF-8
));
%end;
%else %if &type=CSS or &type=CSS64 %then %do;
%let rc=%sysfunc(stpsrv_header(Content-type,text/css));
Expand Down

0 comments on commit 8f066e1

Please sign in to comment.