Announcement

Collapse
No announcement yet.

Datei öffnen - immer noch etwas problematisch

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Datei öffnen - immer noch etwas problematisch

    Hallo,

    in der vorhergehenden Diskusion hatte ich schon mein Beispiel geschildert.<br>
    Nun muss ich wohl eine zweite Diskusion eröffnen, da mir leider nicht geholfen werden konnte.<br>
    Herr Kosch hatte mir zwar einen guten Tip gegeben, doch leider zeigte der keine Wirkung.<br>
    Nun denn, vielleicht hat ja dennoch jemand eine Lösung. Ich habe nun schon wieder seit ein paar Stunden versucht eine Lösung zu finden, aber da fehlt mir auf diesem Gebiet anscheinend etwas Fachwissen.<br>
    Für ein paar Tips bin ich immer dankbar.<br>

    mfg

    Torsten

  • #2
    Hallo,

    wenn beim Öffnen keine Fehlermeldung kommt, sondern nur das erste Zeichen des ersten Wortes angezeigt wird (dieser Hinweis kam in der anderen Diskussion erst in der letzten Antwort) wird die Datei vermutlich aus UNICODE-Zeichen bestehen. Ich würde mir die Datei deshalb mit einem Binär-Editor ansehen, ob an dem so ist

    Comment


    • #3
      Hallo,

      sorry für das Weglassen des Hinweises. Hatte ich wohl etwas zu spät bemerkt.
      Dennoch besten Dank. Ich werde mich dann mal weiter damit beschäftigen. UNICODE muss man ja auch irgendwie darstellen können. Wenn sogar das billige Notepad von Windows diese Datei darstellen kann, dann werde ich das wohl auch hinbekommen.
      ;-)

      mfg

      Torste

      Comment


      • #4
        Hallo,

        in diesem Fall würde ich mir die <b>JCL</b> (JEDI Code Library, zu finden über http://www.delphi-jedi.org/) etwas näher anschauen. Dort ist die Unit <b>JclUnicode</b> zu finden, die sich mit UNICODE-Sachen beschäftigt:
        <pre>
        {************************************************* *****************************}
        { }
        { Project JEDI Code Library (JCL) }
        { }
        { The contents of this file are subject to the Mozilla Public License Version }
        { 1.0 (the "License"); you may not use this file except in compliance with the }
        { License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ }
        { }
        { Software distributed under the License is distributed on an "AS IS" basis, }
        { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
        { the specific language governing rights and limitations under the License. }
        { }
        { The Original Code is JclUnicode.pas. }
        { }
        { The Initial Developer of the Original Code is documented in the accompanying }
        { help file JCL.chm. Portions created by these individuals are Copyright (C) }
        { 2000 of these individuals. }
        { }
        { Last modified: May 15, 2000 }
        { }
        {************************************************* *****************************}

        unit JclUnicode;

        // Copyright (c) 1999, 2000 Mike Lischke ([email protected])
        // Portions Copyright (c) 1999, 2000 Azret Botash (az)
        //
        // 12-JUN-2000 ml:
        // adjustments to make the unit JCL compliant
        // 02-APR-2000 ml:
        // additional widestring conversion routines
        // 01-APR-2000 ml:
        // preparation for public release
        // FEB-MAR 2000 version 2.0 beta
        // - Unicode regular expressions (URE) search class (TURESearch)
        // - generic search engine base class for both the Boyer-Moore and the RE search class
        // - whole word only search in UTBM, bug fixes in UTBM
        // - string decompositon (including hangul)
        // OCT/99 - JAN/2000 ml: version 1.0
        // - basic Unicode implementation, more than 100 WideString/UCS2 and UCS4 core functions
        // - TWideStrings and TWideStringList classes
        // - Unicode Tuned Boyer-Moore search class (TUTBMSearch)
        // - low and high level Unicode/Wide* functions
        // - low level Unicode UCS4 data import and functions
        // - helper functions
        //
        // Version 2.2 beta
        //------------------------------------------------------------------------------
        // This unit contains routines and classes to manage and work with Unicode/WideString strings.
        // You need Delphi 4 or higher to compile this code.
        //
        // Unicode encodings and wide strings:
        // Currently there are several encoding schemes defined which describe (among others)
        // the code size and (resulting from this) the usable value pool. Delphi supports the
        // wide character data type for Unicode which corresponds to UCS2 (UTF-16 coding scheme).
        // This scheme uses 2 bytes to store character values and can thus handle up to
        // 65536 characters. Another scheme is UCS4 (UTF-32 coding scheme) which uses 4 bytes
        // per character. The first 65536 code points correspond directly to those of UCS2.
        // Other code points are mainly used for character surrogates. To provide support
        // for UCS2 (WideChar in Delphi) as well as UCS4 the library is splitted into two
        // parts. The low level part accepts and

        Comment


        • #5
          Hallo Herr Kosch!

          Besten Dank für den Tip.
          Die JCL nutze ich auch schon seit geraumer Zeit. Dort findet man gelegentlich wirklich überaus hilfreiche Ansätze.
          Allerdings hatte ich noch nie ein Auge auf die Unit JCLUnicode geworfen.
          Nun muss ich das wohl mal nachholen.

          mfg

          Torsten Blot

          Comment

          Working...
          X