Hello,
First of all Thank You for your code! :D I had a problem with qooxdoo parts and I found the solution in your code.
I ran your code on my machine and the characters from window1 are the same as those of window 2. I generated and ran the application on Debian 7.3 using Iceweasel(Firefox) browser:
See my screenshot attached. If I were you I would open the .js for that part and start searching for the string containing those characters, and see if they were converted while generating the app or while displaying the characters. If the characters are looking good in the part.js file then it's a problem with the qooxdoo app that loads and displays that window, otherwise, if the .js file contains those weird characters, it's because of generate.py.
This is just an opinion, i'm just another user and fan of qooxdoo, a beginner.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
First of all Thank You for your code! :D I had a problem with qooxdoo parts and I found the solution in your code.
I ran your code on my machine and the characters from window1 are the same as those of window 2. I generated and ran the application on Debian 7.3 using Iceweasel(Firefox) browser:
See my screenshot attached. If I were you I would open the .js for that part and start searching for the string containing those characters, and see if they were converted while generating the app or while displaying the characters. If the characters are looking good in the part.js file then it's a problem with the qooxdoo app that loads and displays that window, otherwise, if the .js file contains those weird characters, it's because of generate.py.
This is just an opinion, i'm just another user and fan of qooxdoo, a beginner.
Thanks again! ^.^
În Joi, 9 Ianuarie 2014 14:22:25, Marcos chorro malvarez <[email protected]> a scris:
Hi all,
a newbie question.

When you create a new window using parts (window 1) characters
with accents do not look good.
When you create a new window without using parts (window 2) characters
accented if they look good.
with accents do not look good.
When you create a new window without using parts (window 2) characters
accented if they look good.
All files are encoding with utf-8 without BOM.
Best regards.

This is my config.json
{
"name" : "myapp",
"include" :
[
{
"path" : "${QOOXDOO_PATH}/tool/data/config/application.json"
}
],
"export" :
[
"api",
"api-data",
"build",
"clean",
"distclean",
"dependencies",
"fix",
"info",
"inspector",
"lint",
"migration",
"pretty",
"profiling",
"source",
"source-all",
"source-hybrid",
"source-server",
"source-server-reload",
"source-httpd-config",
"simulation-build",
"simulation-run",
"test",
"test-source",
"translation",
"validate-config",
"validate-manifest",
"watch"
],
"default-job" : "source-hybrid",
"let" :
{
"APPLICATION" : "myapp",
"QOOXDOO_PATH" : "..",
"QXTHEME" : "myapp.theme.Theme",
"API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"],
"LOCALES" : [ "en" ],
"CACHE" : "${TMPDIR}/qx${QOOXDOO_VERSION}/cache",
"ROOT" : "."
},
"jobs" :
{
"myappparts":
{
"packages" :
{
"parts" :
{
"boot" :
{
"include" : [ "${QXTHEME}", "${APPLICATION}.Application" ]
},
"settings": {
"include" : ["${APPLICATION}.view.desktop.PreferenceWindow"]
}
}
}
},
"source" :
{
"extend" : [ "myappparts" ]
},
"build" :
{
"extend" : [ "myappparts" ]
}
}
}
This is my Application.js
qx.Class.define("myapp.Application",
{
extend : qx.application.Standalone,
members :
{
__Window : null,
__WindowLoaded : false,
main : function()
{
this.base(arguments);
if (qx.core.Environment.get("qx.debug"))
{
qx.log.appender.Native;
qx.log.appender.Console;
}
var button1 = new qx.ui.form.Button("window 1 áéíóú", "myapp/test.png");
var button2 = new qx.ui.form.Button("window 2 áéíóú", "myapp/test.png");
var doc = this.getRoot();
doc.add(button1, {left: 100, top: 50});
doc.add(button2, {left: 100, top: 150});
button1.addListener("execute", function(e) {
qx.io.PartLoader.require(["settings"], function()
{
this.__WindowLoaded = true;
if (!this.__prefWindow)
{
this.__Window = new myapp.view.desktop.PreferenceWindow();
}
this.__Window.center();
this.__Window.open();
}, this);
});
button2.addListener("execute", function(e) {
var w = new qx.ui.window.Window("window 2 áéíóú").set(
{
modal : false,
showMinimize : false,
showMaximize : false,
allowMaximize : false
});
w.center();
w.open();
});
}
}
});
And my PreferenceWindow class.
qx.Class.define("myapp.view.desktop.PreferenceWindow",
{
extend : qx.ui.window.Window,
construct : function()
{
this.base(arguments, "window 1 áéíóú");
this.set(
{
modal : false,
showMinimize : false,
showMaximize : false,
allowMaximize : false
});
},
members :
{
}
});
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
<<attachment: Screenshot from 2014-01-09 15:25:58.png>>
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
