Author Topic: Compile 32-bit WeiDU using OCaml 4.07.0 or above to enable unicode support  (Read 50 times)

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 363
  • Gender: Male
Hi,

Right now, the 64-bit version of WeiDU can display Unicode characters inside the console while the 32-bit is not. After a lite investigation, turns out that the reason for this is because The 32-bit executable has been compiled with OCaml 4.05.0 and the Unicode support was added in 4.06 - https://github.com/ocaml/ocaml/issues/10436

I have successfully compiled the 32-bit WeiDU using '4.07.0+default-unsafe-string+mingw32' (this is the only unsafe-string variant that comes out-of-the-box) and the Unicode support is working:

https://user-images.githubusercontent.com/365255/121081536-23f6aa80-c7dd-11eb-8c68-21bd2b76ca32.png

Can you please update the OCalm version for 32-bit so modders can accept translations of the component names that contain Unicode characters?
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Cahir

  • Planewalker
  • *****
  • Posts: 102
  • Gender: Male
Hell yes, please :)

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: