Latest versions
...
Menu  Language: fr
Search




Articles & Documents

Close Tutorials

Preferences

Connect again
---

Your name (or pseudo) :

Your secret code (associated with your pseudo)


 Count of members 408 members


Connected :

(nobody)
CPDB.Net

Friends News
Google Ads
Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
23 Subscribers
Webmaster - Infos
Visits

   visitors

   visitor online

Pagerank
forum.gifForum - ppCompiler [EN] - Topic #51

Forum - Forum
ppCompiler [EN] - ppCompiler [EN]


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


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 ^