summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-01-27 23:39:35 +0100
committerRobin Gareus <robin@gareus.org>2016-01-27 23:39:35 +0100
commitec8cf4e4f58a7f2d69b479fb64cbdc13a8d3764f (patch)
tree22df6cd45177a06ebb28ed579c27bd64d311c673
parentb985f87a77a11594eb932c20d7374aa8ef9617e7 (diff)
Fix µ-iness.
-rw-r--r--libs/pbd/controllable.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/pbd/controllable.cc b/libs/pbd/controllable.cc
index 58ae731fbe..a1144286ad 100644
--- a/libs/pbd/controllable.cc
+++ b/libs/pbd/controllable.cc
@@ -110,7 +110,13 @@ Controllable::get_state ()
LocaleGuard lg (X_("C"));
char buf[64];
- node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at
+ /* Waves' "Pressure3" has a parameter called "µ-iness"
+ * which causes a parser error : Input is not proper UTF-8, indicate encoding !
+ * Bytes: 0xB5 0x2D 0x69 0x6E
+ * <Controllable name="�-iness" id="2391" flags="" value="0.000000000000" p
+ */
+ //node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at
+
id().print (buf, sizeof (buf));
node->add_property (X_("id"), buf);
node->add_property (X_("flags"), enum_2_string (_flags));