Announcement

Collapse
No announcement yet.

UTF8 Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UTF8 Problem

    I want to insert UTF-8(Tamil) in listbox...it's inserting but only showing Question Marks in listbox.

    And also i m try to getting Name and Title Text from Object store when i am select one particular image. but that one also i am not getting.. i am getting just Question Mark symbols.

    Please share your suggestions and solutions. Thanks in advance.

    Note: I am using Viz Artist 3.5 / Template Wizard - Content pilot 5.4



    Lars Henriksen

    matzunaga


    Sub TWUniButton1Click(Sender)

    set MyFSO = CreateObject("Scripting.FileSystemObject")
    set TempFile = MyFSO.OpenTextFile("K:\Tamil_Text.txt", 1)
    TWUniListBox1.Items.Clear
    Do While Not TempFile.AtEndOfStream
    TempString = TempFile.ReadLine()
    TWUniListBox1.Items.Add(TempString)
    Loop
    TempFile.Close
    set MyFSO = Nothing

    TWUniEdit1.UTF8Text = TWUniListBox1.UTF8Items

    End sub
    Last edited by sudhakar79us; 12-15-2018, 08:15 AM.

  • #2
    same is the problem i am facing with Hindi text....in the listbox control

    Comment


    • #3
      Hi @sudhakar79us,

      I'm new to the forum world but I was just dealing with a similar problem.
      I found a link to stackoverflow that helped me with my issue.
      It suggests using ADODB.stream instead of
      FileSystemObject
      Hope it helps you.

      https://stackoverflow.com/questions/...le-in-vbscript

      Best,

      I have a text file saved as UTF-8 and when I try to read the file it gives me weird characters and not the correct characters (it contains Chinese characters). How can I make it give me the correct

      Comment

      Working...
      X