Browse Source

* Remove debug writel

git-svn-id: trunk@48983 -
(cherry picked from commit 43753442c05a8c6785ca466ebfcd4102de536cce)
michael 4 years ago
parent
commit
1f7e265a9e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/fcl-json/src/jsonscanner.pp

+ 1 - 2
packages/fcl-json/src/jsonscanner.pp

@@ -378,12 +378,11 @@ begin
                         if (joUTF8 in Options) or (DefaultSystemCodePage=CP_UTF8) then
                         if (joUTF8 in Options) or (DefaultSystemCodePage=CP_UTF8) then
                           S:=Utf8Encode(WideString(WideChar(u2))) // ToDo: use faster function
                           S:=Utf8Encode(WideString(WideChar(u2))) // ToDo: use faster function
                         else
                         else
-                          S:=String(WideChar(u1))+String(WideChar(u2)); // WideChar converts the encoding. Should it warn on loss?
+                          S:=String(WideChar(u2)); // WideChar converts the encoding. Should it warn on loss?
                         U1:=0;  
                         U1:=0;  
                         U2:=0;
                         U2:=0;
                         end;
                         end;
                       end;
                       end;
-                    Writeln(' U2 : ',U2,' : >',S,'<');
                     end;
                     end;
               #0  : Error(SErrOpenString,[FCurRow]);
               #0  : Error(SErrOpenString,[FCurRow]);
             else
             else