circuitjs1
circuitjs1 copied to clipboard
input and output pin display error
I found a lot of components pin display error, for example:
- mouse right click, select digital chips--> Add Custom logic;
- draw a component on canvas;
- edit custom logic component, click Edit Model;
- in Edit Component page , with default , Inputs pins: A,B, and Outputs pins: C,D, but on canvas page , pins display a image;
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 -->
...