¿ªÔÆÌåÓý

LTSpice, easy uF / uH with UTF16 saved schematic


 

LTspice default will save schematic (*.asc) as ANSI ASCII file.?
uH or uF, the "u" is extended ASCII "0xB5", "mu" (?) to mean micro,

see the glitching and comments,
/g/LTspice/topic/opa_square_wave_generator/112608874
?
LTspice XVII save such schematic, "0xB5" will be saved as ANSI text file, open the file by editor, and/or copy/paste to HTML or translation, the UTF8 capable application will see double bytes as treated as UTF8/UTF16 etc.

The solution, to force LTspice to save schematic to be UTF8 or UFT16, just add some local "char" (double bytes) to the schematic, and then LTSpice will be saved files as UTF16 by default.
?
this is example of output of the solution,
SYMATTR InstName C2
SYMATTR Value 1?f
TEXT 112 160 Left 2 ;1uF = 1Ϥ
?
testing files,
/g/LTspice/files/u_ANSI_test.asc
/g/LTspice/files/u_UTF16_test.asc

Join [email protected] to automatically receive all group messages.