circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

input and output pin display error

Open cwzhai opened this issue 4 months ago • 2 comments

I found a lot of components pin display error, for example:

  1. mouse right click, select digital chips--> Add Custom logic;
  2. draw a component on canvas;
  3. edit custom logic component, click Edit Model;
  4. in Edit Component page , with default , Inputs pins: A,B, and Outputs pins: C,D, but on canvas page , pins display a image;

cwzhai avatar Jul 29 '25 10:07 cwzhai

Image

cwzhai avatar Jul 29 '25 10:07 cwzhai

I don't observe this error under any circumstances. I don't understand how to solve this problem. It is apparent that the problem is the encoding but all source and end files in UTF-8. There is an assumption that the problem can be fixed if you specify the encoding in package.nw/circuitjs.html explicitly. Try adding <meta charset="UTF-8"> after the <head> tag:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">

        <!-- Properties can be specified to influence deferred binding -->
        <meta name='gwt:property' content='locale=en_UK'>


        <!-- Titles are optional, but useful -->
...

SEVA77 avatar Aug 04 '25 17:08 SEVA77