cursor icon indicating copy to clipboard operation
cursor copied to clipboard

`with codebase` doesn't read files written in Japanese

Open tsunekyos opened this issue 1 year ago • 0 comments

Problem

image

image

image

  1. prepare files; score-en.md written entirely in English and score-jp.md written entirely in Japanese
  2. at settings, run resync-index
  3. Cmd+L to ask "what's in score-en.md/score-jp.md ?" (with codebase).
  4. score-en.md is loaded successfully
  5. score-jp.md is not loaded correctly
  6. open score-jp.md on the editor and ask the same question as in 3.
  7. score-jp.md is loaded normally
  8. close score-jp.md opened in the editor and ask the same questions as in 3
  9. score-jp.md is not loaded normally

Background

Both files can be read successfully by specifying the file in the @mention. However, I would like to pre-load some files into .cursorrules etc (for co-developers) to talk to the AI. As I looked into it, I thought that files containing Japanese might be a problem.

Environments

macOS 14.5(Apple M2 Pro) Version: 0.39.0 VSCode Version: 1.91.1 Commit: 67685f6d849a40497339e3f7bc51bcc54208f410 Date: 2024-08-02T07:37:19.753Z (5 days ago) Electron: 29.4.0 ElectronBuildId: undefined Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 23.5.0

tsunekyos avatar Aug 08 '24 04:08 tsunekyos