Skip to main content

Aldehyde Backlinks Outage (January 2023)

Backlinks were not working for Korean Pages.

Found that:

>>> for char in "๋ฐ”์ด์˜ฌ๋ฆฐ ์ผœ๋ฉด ๋ฐ”์ด์˜ฌ๋ ˆ์ด์…˜":
... print(ord(char))
...
48148
51060
50732
47536
32
53020
47732
32
48148
51060
50732
47112
51060
49496
>>> for char in "๋ฐ”์ด์˜ฌ๋ฆฐ ์ผœ๋ฉด ๋ฐ”์ด์˜ฌ๋ ˆ์ด์…˜":
... print(ord(char))
...
4359
4449
4363
4469
4363
4457
4527
4357
4469
4523
32
4367
4455
4358
4455
4523
32
4359
4449
4363
4469
4363
4457
4527
4357
4454
4363
4469
4361
4455
4523

The backlink table was ์™„์„ฑํ˜•, but the text was ์กฐํ•ฉํ˜•.

So I added:

const documentTitleEncoded = documentTitle.normalize('NFC')

Fixed the problem.

import unicodedata
unicodedata.normalize('NFC', string)