Eastern Arabic numerals (٠–٩) render incorrectly in Collabora Online (COOLWSD 25.04.8.1)

The Basics

Nextcloud Server version:

32.0.4.1

Installation method:

Nextcloud AIO v12.5.0 (latest channel)

Operating system and version:

Linux (host OS managed via Nextcloud AIO)

Web server and version:

Apache (Nextcloud AIO container)

Reverse proxy and version:

Apache (AIO-managed)

PHP version:

Managed by Nextcloud AIO (latest compatible version)

Is this the first time you’ve seen this error?

Yes

When did this problem seem to first start?

After using Collabora Online 25.04.8.1 via Nextcloud AIO

Are you using Cloudflare, mod_security, or similar?

No


Summary of the issue you are facing

Eastern Arabic numerals (٠، ١، ٢، ٣، ٤، ٥، ٦، ٧، ٨، ٩) do not render correctly in documents opened via Collabora Online when running inside Nextcloud AIO.

The same documents render correctly in:

  • LibreOffice Desktop

  • Microsoft Word

But render incorrectly when opened in the browser using Collabora Online.

Observed behavior:

  • Eastern Arabic numerals appear as Western numerals (0–9), or

  • Numerals render with incorrect glyphs or inconsistent shaping

This affects Arabic documents and official content where correct numeral localization is required.


Steps to replicate it

  1. Open Nextcloud.

  2. Create or upload a DOCX or ODT document containing Arabic text with Eastern Arabic numerals (e.g. ١٢٣٤٥٦٧٨٩٠).

  3. Open the document using Collabora Online.

  4. Compare the rendering with LibreOffice Desktop or Microsoft Word.


Expected behavior

Eastern Arabic numerals should render correctly (٠–٩) with proper glyphs and shaping, consistent with LibreOffice Desktop and Microsoft Word.


Actual behavior

Eastern Arabic numerals render incorrectly:

  • Replaced by Western numerals, or

  • Displayed with incorrect glyph shaping or alignment


Environment (Collabora / AIO)

Nextcloud AIO version:

v12.5.0 (latest channel)

Containers (all running and up-to-date):

  • Apache

  • Database

  • Nextcloud

  • Notify Push

  • Redis

  • Collabora

  • Imaginary

  • Whiteboard

Collabora details:

  • COOLWSD version: 25.04.8.1

Git hash: 278cb3481b

  • LOKit version: Collabora Office 25.04.8.1

Git hash: 489cb5d73b

  • Server ID: 217b392e

  • WOPI host: Nextcloud 32.0.4.1

  • richdocuments app: 9.0.2


Log entries

Nextcloud

No relevant errors observed in Nextcloud logs during document rendering.

Web Browser

No JavaScript or network errors observed in browser developer tools.

Web server / Reverse Proxy

No relevant Apache errors observed in AIO logs.

(Logs can be provided if requested.)


Additional context

  • Issue appears isolated to Collabora Online rendering

  • Fonts and numerals display correctly outside Collabora

  • Likely related to:

  • Arabic/CTL numeral shaping

  • Locale handling

  • Font fallback or HarfBuzz/ICU behavior inside Collabora container