mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Fix ancient encoding error in hungarian.stop.
When we grabbed this file off the Snowball project's website, we mistakenly supposed that it was in LATIN1 encoding, but evidently it was actually in LATIN2. This resulted in ő (o-double-acute, U+0151, which is code 0xF5 in LATIN2) being misconverted into õ (o-tilde, U+00F5), as complained of in bug #10589 from Zoltán Sörös. We'd have messed up u-double-acute too, but there aren't any of those in the file. Other characters used in the file have the same codes in LATIN1 and LATIN2, which no doubt helped hide the problem for so long. The error is not only ours: the Snowball project also was confused about which encoding is required for Hungarian. But dealing with that will require source-code changes that I'm not at all sure we'll wish to back-patch. Fixing the stopword file seems reasonably safe to back-patch however.
This commit is contained in:
parent
8940970c0c
commit
4d5ea42904
@ -55,10 +55,10 @@ ekkor
|
|||||||
el
|
el
|
||||||
elég
|
elég
|
||||||
ellen
|
ellen
|
||||||
elõ
|
elő
|
||||||
elõször
|
először
|
||||||
elõtt
|
előtt
|
||||||
elsõ
|
első
|
||||||
én
|
én
|
||||||
éppen
|
éppen
|
||||||
ebben
|
ebben
|
||||||
@ -149,9 +149,9 @@ nincs
|
|||||||
olyan
|
olyan
|
||||||
ott
|
ott
|
||||||
össze
|
össze
|
||||||
õ
|
ő
|
||||||
õk
|
ők
|
||||||
õket
|
őket
|
||||||
pedig
|
pedig
|
||||||
persze
|
persze
|
||||||
rá
|
rá
|
||||||
|
Loading…
Reference in New Issue
Block a user