[Bug 16953] Re: Aptitude: should accept both "Si" and "Sí" (when asking for confirmation)

Daniel Hartwig 16953 at bugs.launchpad.net
Fri Jan 13 13:15:13 UTC 2012


Removing accents from strings before or while comparing them


There is libunac [1] which provides a function to remove accents from a string.  

There is an algorithm discussed here [2] which could be implemented with
libunistring:

Now, the best algorithm is hinted at the approved answer: Use NKD
(decomposition) to decompose accented letters into the base letter and a
seperate accent, and then remove all accents.

[accent characters are in the non-spacing mark category "Mn"]


[1] http://www.nongnu.org/unac/unac-man3.en.html
[2] http://stackoverflow.com/questions/144761/how-to-remove-accents-and-tilde-in-a-c-stdstring

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/16953

Title:
  Aptitude: should accept both "Si" and "Sí" (when asking for
  confirmation)

Status in Ubuntu Server papercuts:
  Won't Fix
Status in “aptitude” package in Ubuntu:
  In Progress

Bug description:
  When I made a dist-upgrade today I had this message:

  ---
  WARNING: untrusted versions of the following packages will be installed!

  Untrusted packages could compromise your system's security.
  You should only proceed with the installation if you are certain that
  this is what you want to do.

  (..a list of packets...)

  Should I go ahead and install the packages anyway?
  To continue, enter "Sí"; to abort, enter "No": 
  ---

  It doesn't work! I typed Si, S, Yes, Y... it doesn't work anyway...

  It works fine with apt-get.

To manage notifications about this bug go to:
https://bugs.launchpad.net/server-papercuts/+bug/16953/+subscriptions




More information about the foundations-bugs mailing list