Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

]) are treated as one character in ANSI encoding #746

Closed
lifenjoiner opened this issue Jan 15, 2024 · 1 comment
Closed

]) are treated as one character in ANSI encoding #746

lifenjoiner opened this issue Jan 15, 2024 · 1 comment

Comments

@lifenjoiner
Copy link
Contributor

lifenjoiner commented Jan 15, 2024

It seems 3c8699f missed something that caused this.

To reproduce:

  1. With code snippet:
    if (obj[0]) {}
    or just:
    ])
    
  2. Encoding -> ANSI or loading it with LoadASCIIasUTF8=0.

Also occurs on other bunches of 2 chars, like if.

@zufuliu
Copy link
Owner

zufuliu commented Jan 15, 2024

Fixed by 61abd54,

@zufuliu zufuliu closed this as completed Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants