Skip to content

Commit fe6bd2a

Browse files
haimkastnerangularsen
authored andcommitted
Change unit definition JSON from UTF-8-BOM to UTF-8 (#730)
* Remove unknown sign from the JSON beginnings Otherways the js JSON parse method returns `SyntaxError: Unexpected token  in JSON at position 0` error.
1 parent f04db7d commit fe6bd2a

File tree

92 files changed

+164
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+164
-164
lines changed

Common/UnitDefinitions/Acceleration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "Acceleration",
33
"BaseUnit": "MeterPerSecondSquared",
44
"XmlDoc": "Acceleration, in physics, is the rate at which the velocity of an object changes over time. An object's acceleration is the net result of any and all forces acting on the object, as described by Newton's Second Law. The SI unit for acceleration is the Meter per second squared (m/s²). Accelerations are vector quantities (they have magnitude and direction) and add according to the parallelogram law. As a vector, the calculated net force is equal to the product of the object's mass (a scalar quantity) and the acceleration.",
@@ -121,4 +121,4 @@
121121
]
122122
}
123123
]
124-
}
124+
}

Common/UnitDefinitions/AmountOfSubstance.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "AmountOfSubstance",
33
"BaseUnit": "Mole",
44
"XmlDoc": "Mole is the amount of substance containing Avagadro's Number (6.02 x 10 ^ 23) of real particles such as molecules,atoms, ions or radicals.",
@@ -39,4 +39,4 @@
3939
]
4040
}
4141
]
42-
}
42+
}

Common/UnitDefinitions/AmplitudeRatio.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "AmplitudeRatio",
33
"BaseUnit": "DecibelVolt",
44
"Logarithmic": "True",
@@ -54,4 +54,4 @@
5454
]
5555
}
5656
]
57-
}
57+
}

Common/UnitDefinitions/Angle.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "Angle",
33
"BaseUnit": "Degree",
44
"XmlDoc": "In geometry, an angle is the figure formed by two rays, called the sides of the angle, sharing a common endpoint, called the vertex of the angle.",
@@ -94,4 +94,4 @@
9494
]
9595
}
9696
]
97-
}
97+
}

Common/UnitDefinitions/ApparentEnergy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "ApparentEnergy",
33
"BaseUnit": "VoltampereHour",
44
"XmlDoc": "A unit for expressing the integral of apparent power over time, equal to the product of 1 volt-ampere and 1 hour, or to 3600 joules.",
@@ -22,4 +22,4 @@
2222
]
2323
}
2424
]
25-
}
25+
}

Common/UnitDefinitions/ApparentPower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "ApparentPower",
33
"BaseUnit": "Voltampere",
44
"XmlDoc": "Power engineers measure apparent power as the magnitude of the vector sum of active and reactive power. Apparent power is the product of the root-mean-square of voltage and current.",
@@ -22,4 +22,4 @@
2222
]
2323
}
2424
]
25-
}
25+
}

Common/UnitDefinitions/Area.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "Area",
33
"BaseUnit": "SquareMeter",
44
"XmlDoc": "Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat.[1] It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).",

Common/UnitDefinitions/AreaDensity.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "AreaDensity",
33
"BaseUnit": "KilogramPerSquareMeter",
44
"XmlDoc": "The area density of a two-dimensional object is calculated as the mass per unit area.",
@@ -24,4 +24,4 @@
2424
]
2525
}
2626
]
27-
}
27+
}

Common/UnitDefinitions/AreaMomentOfInertia.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "AreaMomentOfInertia",
33
"BaseUnit": "MeterToTheFourth",
44
"XmlDoc": "A geometric property of an area that reflects how its points are distributed with regard to an axis.",
@@ -97,4 +97,4 @@
9797
]
9898
}
9999
]
100-
}
100+
}

Common/UnitDefinitions/BitRate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"Name": "BitRate",
33
"BaseUnit": "BitPerSecond",
44
"BaseType": "decimal",
@@ -32,4 +32,4 @@
3232
]
3333
}
3434
]
35-
}
35+
}

0 commit comments

Comments
 (0)