makersofkerala / thengascript

Start programming for the web in Malayalam!
https://makers-of-kerala.com/thengascript/
MIT License
66 stars 13 forks source link

പരിവർത്തനം Not working #16

Closed ByteJoseph closed 11 months ago

ByteJoseph commented 1 year ago

// its showing error പരിവർത്തനം k = 2; കാണിക്കുക(k);

ByteJoseph commented 1 year ago

Error: SyntaxError: Unexpected identifier

prathyvsh commented 1 year ago

This is a unicode encoding issue. The keyword used here പരിവർത്തനം is not the same as പരിവര്‍ത്തനം. That might sound funny, but try doing a .length on each of these. The second one uses a non-width joiner instead of the ചില്ലക്ക്ഷരം .

Please use the one with non-width joiner: പരിവര്‍ത്തനം and it should get it working.

Will think if I should add a redundant keyword here. Thanks for the note.

madhaven commented 11 months ago

ready to close? @prathyvsh