Sol Forums

General Category => Sol_Asm => Topic started by: kaisermtv on June 21, 2018, 07:00:09 AM

Title: Error creating unicode string
Post by: kaisermtv 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
Title: Re: Error creating unicode string
Post by: bogdanontanu 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?
Title: Re: Error creating unicode string
Post by: kaisermtv on June 23, 2018, 11:12:04 AM
String subscription source code
Code: [Select]

/*86*/ numerror du "Định dạng số hexa không đúng",0
/*87*/ formaterror du "Lỗi cấu trúc",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
Title: Re: Error creating unicode string
Post by: bogdanontanu on July 07, 2018, 11:35:35 PM
String subscription source code
Code: [Select]

/*86*/ numerror du "Định dạng số hexa không đúng",0
/*87*/ formaterror du "Lỗi cấu trúc",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.
Title: Re: Error creating unicode string
Post by: bogdanontanu 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