IonicWind Software

IWBasic => General Questions => Topic started by: rhuckle on April 28, 2008, 05:26:20 AM

Title: Special Characters
Post by: rhuckle on April 28, 2008, 05:26:20 AM
Hi Im trying to add version information, i have succedded following instructions and code from here, however the special charachter

ÂÃ,© That is put within the copyright part of the versioning dosnt display as ÂÃ,© but instead displays as a square

how can i fix this so that the sybol within the file version displays when the exe is right clicked on or the dll is right clicked on

at present when you right click on the exe or dll and choose version and than under copyright info the ÂÃ,© is not displayed correctly

i included my functions.dll within zip to show what is going on

if source is needed ask and i shall pm
Title: Re: Special Characters
Post by: sapero on April 28, 2008, 06:38:22 AM
Hi, just replace the ÂÃ,© character with \251For more details see in resource compiler help.
Title: Re: Special Characters
Post by: rhuckle on April 28, 2008, 06:56:32 AM
Quote from: sapero on April 28, 2008, 06:38:22 AM
Hi, just replace the ÂÃ,© character with \251For more details see in resource compiler help.

thankyou for this information the charachter however within a dialog or window as text works but for some reason not with the version info
Title: Re: Special Characters
Post by: rhuckle on April 28, 2008, 07:02:43 AM
Hi I Placed The Code Specified In The ASCII Table Within Ebasic Help
So That My Code Now Is


FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK    0x00000000L
FILEFLAGS        0x00000000L
FILEOS          0x00000000L
FILETYPE        0x00000000L
FILESUBTYPE    0x00000000L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE  "CompanyName", "HIDDEN"
VALUE  "Contact e-mail",  "HIDDEN"
VALUE  "FileDescription", "compiler.exe"
VALUE  "FileVersion", "1.0.0"
VALUE  "Development Language", "Emergence BASIC"
VALUE  "LegalCopyright","Copyright \233 2007-2008"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1252
END
END


however the copyright symbol remains the same (as a sqaure refer to first post)

im using the resource editor part of ebasic to set the version info plus code that i obtained here
Title: Re: Special Characters
Post by: rhuckle on April 28, 2008, 07:09:34 AM
sorry my mistake the guide had

41 29 ) 105 69 i 169 A9 ÂÃ,© 233 E9 ÃÆ'Ã,©

In The ascii table so i assumed 169 was what i needed and that didnt work i tried your \251 and that worked like a charm

under what section of the guide did u find the \251 that represents the copyright symbol as the anscii table i read seems wrong
Title: Re: Special Characters
Post by: sapero on April 28, 2008, 09:01:13 AM
Open EB, click in menu Help->Resource compiler help.
Press CTRL+F, paste your ÂÃ,© character, click Find Next.
Quote\number to produce a special character
In all quoted strings which are converted by the Resource Compiler you can have:-
\number
This then will cause the character represented by number to be inserted in the text
For example, "Copyright \251 2002" inserts a ÂÃ,© symbol in the text.
Strange! The ÂÃ,© symbol, as everybody knows, is ANSI value 169, or A9 in hex