typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 44 forks source link

Text encoding saving and loading differs on Windows. #711

Open jamesreprise opened 1 year ago

jamesreprise commented 1 year ago

Description

Text saved is different to text loaded on Windows.

Environment

  1. Studio version: 2.14.2
  2. OS of Studio: Windows
  3. Other environment details: N/A

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Open a project and a file.
  2. Save the following file:
    define
    User·email sub email;

Expected Output

Closing and re-opening the file shows:

define
User·email sub email;

Actual Output

Closing and re-opening the file shows:

define
User·email sub email;
CIOSAI commented 1 year ago

I also got this issue while working on Chinese text. Just curious, what is the current encoding?

hezhichenghzc commented 1 year ago

Any updates here? Because I am also working on Chinese data.