linuxmint / linuxmint/xreader

UTF-8 quotes not correctly managed

Open
#652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Description

Distribution

Linux Mint 21.3 Virginia

Package version

4.0.2

Frequency

Always

Bug description

Regular (ASCII) quotes (and double quotes) are correctly found. UTF-8 left and right quotes are NOT found, they should be considered "equivalent" to ASCII quotes. On the Windows site, this is the beahviour of Acrobat Reader.

Steps to reproduce

Open Xreader on a file e.g. written in Italian
CTRL-F
l'opzione
(only find the occurrences in which the "'" is in ASCII).

Expected behavior

Should find all the occurrence, no matter how the quote is written.

Additional information

Schermata del 2024-07-14 12-39-04

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Xreader using CTRL-F and the provided Italian example, checking searches with ASCII versus UTF-8 left and right quotes. No source file or test is named, so trace the document-search entry point and add coverage showing that equivalent quote forms all produce the expected occurrences.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.