Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

265
Views
Why is my JavaScript file formatted oddly in IDEA?

I have a .js file. When I open it in Notepad++ the first two lines look fine like this:

(function(ns, $, undefined){
if(!ns.lang) { ns.lang = {}; }

When I open the file in Intellij it looks like this:

( f u n c t i o n ( n s ,   $ ,   u n d e f i n e d ) { 
 i f ( ! n s . l a n g )   {   n s . l a n g   =   { } ;   } 

It's not visible here. StackOverflow inserts space between nevery character but here is how it looks like in Intellij and in Chrome's inspect(images below). Weird character gets inserted between every code character.

What could be causing this? Notepad++ and Intellij is in UTF-8

enter image description here

enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!