Menu
Search




Articles & Documents

Close Tutorials

Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
22 Subscribers
CPDB.Net

Friends News
Visits

   visitors

   visitor online

Webmaster - Infos
forum.gifForum - ppCompiler - Topic #51

Forum - Forum
ppCompiler - ppCompiler


active  Topic # 51  Strange characters inserted into source code

02/09/2012 @ 01:50
by ukimiku

Anonymous



I wrote a pascal program with Pepe. Into a literal string, I wrote a special character: a long hyphen (--). When I wanted to edit the source again, hundreds of strange-looking characters had been inserted into my source code. It was very arduous to remove them all again.

Where did they come from? What characters can I use in a string? Only ASCII 0-127?

Thank you.

Regards,
Write to ukimiku   Post an answer  Top
Answer n° 1
--------
03/09/2012 @ 12:17
by Philippe

Anonymous

visitor
Hi,This is a known bug to be fixed. Files are saved as utf-8 files and reloaded as char files (or the contrary). Moreover, Strings are char (byte) array and the build-in console does not display utf-8.
Philippe.
Write to Philippe   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 




^ Top ^