The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: winge on October 03, 2005, 08:00:45 PM

Title: question about UTF-8 ...
Post by: winge on October 03, 2005, 08:00:45 PM
i just curious ...

i was trying to use notepad write an program in UTF-8 encode, i found it will not be complie by MASM32. error msg shows: "error A2119: language type must be specified". and ... if i use Unicode for my .asm file, i will have: "only white space or comment can follow backslash" for including lib. and all the way "syntax error" for my codes.

i know my questions probably weird or stupid ... but i wanna know how to use UNICODE or UTF-8 encoding in my program. any answer will be appreciated, thank you in advanced :red
Title: Re: question about UTF-8 ...
Post by: hutch-- on October 03, 2005, 09:50:46 PM
Basically ML.EXE does not recognise the non ANSI text so it generates an error. This is generally the case with most compilers and things like system settings. MASM is capable of producing UNICODE programs using the UNICODE APIs and resource APIs.
Title: Re: question about UTF-8 ...
Post by: winge on October 04, 2005, 03:20:52 AM
Thank you hutch  :U
Title: Re: question about UTF-8 ...
Post by: bluex on November 22, 2005, 05:20:53 PM
thank you MaN i finally FOUND it