Jump to content

Recommended Posts

Posted

Hi all,

whenever I open a *.ldr file in LDView an additional window shows up showing the following Errors & Warnings:

Error parsing line.
    File: C:/Users/Public/Documents/LDraw/ldconfig.ldr
    Line #1
    Line: ´╗┐0 LDraw.org Configuration File

I've checked C:/Users/Public/Documents/LDraw/ldconfig.ldr ... the file is there an can be opened with notepad++ etc.

What can I do about this? The model in LDView seems to be Ok, but how can I get rid of the Errors & Warnings message? Thanks in advance for your help.

Best regards,
Holger

 

 

Posted

The error message shows the culprit(s): the first line of the file, there are two spurious characters before 0.  You need to remove them.

If you can’t see them while editing the file, it may be because they are the Unicode BOM (Byte Order Mark), special characters to mark the encoding of the file that Unicode-aware programs can use or ignore.  It appears some tools (Notepad) always add a BOM.  Now, if it’s a BOM you’ll need either a dumb ASCII editor that will show the characters or a smart editor that has a function to remove invisible BOMs.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...