October 30, 2025, 10:38:09 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Special Characters

Started by rhuckle, April 28, 2008, 05:26:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rhuckle

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

sapero

Hi, just replace the ÂÃ,© character with \251For more details see in resource compiler help.

rhuckle

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

rhuckle

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

rhuckle

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

sapero

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