material database (.sldmat) and unicode

Discussion in 'SolidWorks' started by kenneth b, Nov 9, 2004.

  1. kenneth b

    kenneth b Guest

    not entirely familiar with unicode. i've created a new material database
    (.sldmat). every time i edit this file and save (thru solidwoks), i get
    square characters/symbols added to the end of each line. i know about the
    characters/symbols because i use notepad (using arial unicode ms font) to
    make manual tweeks. does anyone know what causes these characters/symbols
    to keep adding themselves?
     
    kenneth b, Nov 9, 2004
    #1
  2. Mike J. Wilson, Nov 9, 2004
    #2
  3. kenneth b

    kenneth b Guest

    ooops, forgot to google. thx

    my conclusion, this behavior is a flaw.
     
    kenneth b, Nov 10, 2004
    #3
  4. kenneth b

    rocheey Guest

    not entirely familiar with unicode.

    English characters can be represented by one byte (there are 256
    different characters in our charset)

    Some languages have more characters than that, and a second byte
    is needed(for up to 65536 different characters)

    For compatability with all languages, UniCode assumes 2 bytes
    are needed, and, when not needed, the second byte is filled
    in as an ascii zero.

    Depending on your font, this character can be displayed different
    ways; but if you use "Terminal" font (Like one would use for DOS),
    the character is actuallly invisible.

    And while, if you use DOS Edit, you can generate most of these
    characters by holding down the ALT key, typing in a number, and
    releasing the ALT key(try Alt-178, for instance, for a Dos
    "Shading" character), the Ascii zero (or NULL) cannot be.
     
    rocheey, Nov 10, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.