<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I found problem. not string show problem. My string variable get
value from My defined function, I didn't notice that, this my
mistake, sorry for this.<br>
Problem is:<br>
..<br>
Result := fpReadLink(AFilename); <br>
..<br>
/freepascal/3.1.1/rtl/unix/bunxovlh.inc<br>
Function fpReadLink(const Name: RawByteString): RawByteString;<br>
<br>
result is string. I tested it like this too "StrVariable :=
fpReadLink(AFilename); " <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div class="delphi source-delphi"><span class="kw1"></span>added to
result "^char($000000010E3C1358)" this strings, number change.<br>
<pre class="de1"><span class="kw1"></span><span class="kw1">type</span>
RawByteString <span class="sy3">=</span> <span class="kw1">type</span> <span class="kw4">AnsiString</span><span class="br0">(</span>CP_NONE<span class="br0">)</span><span class="sy1">;</span></pre>
</div>
How to do?
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<span id="result_box" class="short_text" lang="en"><span class="hps">I'm</span>
<span class="hps">confused little bit.<br>
<br>
</span></span><br>
<div class="moz-cite-prefix">On 19.02.2015 15:20, Martin Frb wrote:<br>
</div>
<blockquote cite="mid:54E5E30A.5040505@mfriebe.de" type="cite">
<div class="moz-cite-prefix">Please report a bug on mantis.<br>
<br>
Please include:<br>
- the expected string<br>
- a sample project (lpi, pas and other files) which has all the
settings (compiler options) done.<br>
- a logfile
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session">http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session</a><br>
<br>
On 19/02/2015 08:10, FreeMan wrote:<br>
</div>
<blockquote cite="mid:54E59A80.9040700@delphiturkiye.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<meta name="qrichtext" content="1">
osx fpc & lazarus svn QT x64<br>
my project's Compiler options has<br>
-FcUTF8<br>
-dEnableUTF8<!--EndFragment--><br>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
*-) I added string variable to watch list. Value show like this,
I copied from there, <br>
^char($000000010E3C1358)
'/opt/proje_laz/projeler/apps/project_darwin.app'<br>
</blockquote>
</blockquote>
<br>
</body>
</html>