Author Topic: Error creating unicode string  (Read 380 times)

kaisermtv

  • Newbie
  • *
  • Posts: 4
    • View Profile
Error creating unicode string
« on: June 21, 2018, 07:00:09 AM »
Hi Bogdan.
When I declare a unicode string, an error occurs with the utf-8 format
Code: [Select]
**Error** PartCopy.asm(35) DU, empty string: ịnh dạng số hexa không đúng
**Error** PartCopy.asm(36) DU, empty string: ỗi cấu trúc
Hope you can fix it soon

bogdanontanu

  • Administrator
  • Newbie
  • *****
  • Posts: 22
    • View Profile
    • oby.ro
Re: Error creating unicode string
« Reply #1 on: June 22, 2018, 12:26:59 AM »
Hi Bogdan.
When I declare a unicode string, an error occurs with the utf-8 format
Code: [Select]
**Error** PartCopy.asm(35) DU, empty string: ịnh dạng số hexa không đúng
**Error** PartCopy.asm(36) DU, empty string: ỗi cấu trúc
Hope you can fix it soon

Hi,
Do you have an example source code that creates this error?
What was the "du" string?
« Last Edit: June 22, 2018, 08:11:44 AM by bogdanontanu »

kaisermtv

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Error creating unicode string
« Reply #2 on: June 23, 2018, 11:12:04 AM »
String subscription source code
Code: [Select]

/*86*/ numerror du "Định dạng số hexa khng đng",0
/*87*/ formaterror du "Lỗi cấu trc",0
;numerror du "num error",0
;formaterror du "input error",0
formatfilein du "input file error",0
formatfileout du "output file error",0

Returned error code
Code: [Select]
**Error** PartCopy.asm(86) DU, empty string: ịnh dạng số hexa không đúng
**Error** PartCopy.asm(87) DU, empty string: ỗi cấu trúc

bogdanontanu

  • Administrator
  • Newbie
  • *****
  • Posts: 22
    • View Profile
    • oby.ro
Re: Error creating unicode string
« Reply #3 on: July 07, 2018, 11:35:35 PM »
String subscription source code
Code: [Select]

/*86*/ numerror du "Định dạng số hexa khng đng",0
/*87*/ formaterror du "Lỗi cấu trc",0
;numerror du "num error",0
;formaterror du "input error",0
formatfilein du "input file error",0
formatfileout du "output file error",0

Returned error code
Code: [Select]
**Error** PartCopy.asm(86) DU, empty string: ịnh dạng số hexa không đúng
**Error** PartCopy.asm(87) DU, empty string: ỗi cấu trúc

Thanks for the example, this will be fixed fast.

bogdanontanu

  • Administrator
  • Newbie
  • *****
  • Posts: 22
    • View Profile
    • oby.ro
Re: Error creating unicode string
« Reply #4 on: July 08, 2018, 04:16:48 PM »
Hi kaiser,

There is a new version released: v0.36.76 that fixes this issue / bug with UTF-8 Chinese unicode stings

http://www.oby.ro/sol_asm/files/sol_asm_2018_07_08_v0_36_76.zip