Open HusseinMorsy opened 4 months ago
Workaround: If you build the gem yourself on arm64, then it works. For compiling the project, you need the Ragel package.
apt-get install ragel
Yes send me your code
Change your cloth from red to blue :) . Try gem 'bluecloth'
Introduction:
To accurately demonstrate and test the issue, I set up two virtual servers on Hetzner Cloud, each with a different architecture: one server utilizes an arm64 (Ampere) processor, and the other uses an Intel Xeon (x86_64) processor. This configuration ensures that the comparison and results of the RedCloth gem's behavior on different architectures are consistent and controlled.
Environment: Ubuntu 24.04 LTS - arm64 (Ampere) & x86_64 (Intel Xeon) on Hetzner Cloud
Issue: Non-ASCII characters are not rendering correctly on the arm64 architecture.
Steps to reproduce:
Set up a fresh installation of Ubuntu 24.04 LTS.
Install necessary packages and the RedCloth gem:
This installs Ruby 3.2.3 and RedCloth 4.3.4 and opens the Ruby interactive shell.
Inside the Ruby interactive shell:
Results:
<p>M</p>
<p>Müller</p>
Expected: Both architectures should render
<p>Müller</p>
. Actual: The arm64 architecture does not render non-ASCII characters correctly.Would appreciate any insights or suggestions on how to address this issue.