Menu

#21 Unable to view the Unicode text (Tamil)

v3.95.x
open
i18n (1)
5
2025-01-27
2021-04-06
No
  1. Unable to view the characters
  2. The text box doesn't support unicode characters
  3. Search is not working for unicode character

Attached the 3 files which uses Tamil unicode text

3 Attachments

Discussion

  • Torsten Henschel

    • Group: v3.89.x --> v3.95.x
     
  • Torsten Henschel

    • assigned_to: Torsten Henschel
     
  • Torsten Henschel

    Sorry, but I can't comprehend your behavior. See the screenshot.
    Can you attach your result screen?
    Which system do you use? (os, java, fonts, ...)

     
  • Java Developer

    Java Developer - 2021-04-12

    System Details

    OS: Windows 10 Home
    Bit: 64-bit
    Java Version: 16 JDK

     
  • Java Developer

    Java Developer - 2021-04-12

    Attached the not-working screenshot

     
  • Java Developer

    Java Developer - 2021-04-12

    Even copying the unicode and pasting it on the search field is not working..However able to view the unicode in txt and doc files as well as in notepad

     
  • Torsten Henschel

    Ok, I can comprehend the problem.
    I use a win10 and Java 11 LTS and I had the same result. But if I copy text from wordpad and paste it into the search box, I find the document and can open it with wordpad.
    Give me some time to understand and fix the font problem.

     
  • Java Developer

    Java Developer - 2021-04-13

    Attached the tamil unicode fonts just for your reference if needed.

    Huge tamil unicode fonts can also be downloaded from - https://www.azhagi.com/freefonts.html if required.

     
  • Torsten Henschel

    • labels: --> i18n
     
  • Torsten Henschel

    I think I have an idea.
    Can you save a search result with the disk toolbar icon and send me this file.
    Than I will try to fix it with adding necessary encoding information.

     
  • Torsten Henschel

    This is an uncool font problem on windows systems.
    A quick test with additional font code in Java and HTML, solve this problem.

    searchField.setFont(new Font("Nirmala UI Semilight", Font.BOLD, 12));
    hitBuf.append("<body style="font-family: Nirmala UI Semilight;">");
    

    Now I have to find a dynamic solution or add a manual setting.

     

    Last edit: Torsten Henschel 2025-01-27

Log in to post a comment.

MongoDB Logo MongoDB