On Sat, Nov 6, 2010 at 23:54, Gubinelli Massimiliano <[email protected]> wrote:
> Hi Miguel, > could you be more specific on the difficulty you encountered? I've tried > to open files with names like üöàéàî.tm <http://xn--0caa0av0b9a.tm/> and > it works fine. > Sure: 1. Start texmacs 2. "Open file" 3. Navigate to a folder with "á" in it, or open a file with that character in its name. 4. Nothing opens. An error message displays on the status bar: "Error: file bláblá.tm <http://xn--blbl-6nac.tm> not found." It has to be some problem with the encoding, either of my filesystem, which is whatever Apple saw fit choose for my iMac, of QStrings, which are Unicode I think, or, well... you know. Thing is the scheme code is passing the file name to open in the wrong encoding and calling scm_quote() on a utf8 string seems to solve/hide deeper the problem. And now that I think of it, this has been going on for some time now, not only on the Mac port. I used to run WinTeXmacs on WinXP (1.0.7.5 I think, can't check right now) and It would always refuse to export pdfs or ps to folders with áéíóú in them. But this was some time ago and I can't be more specific or even be sure about it. Sorry. I do not fully master texmacs internals to tell you about encodings. As far > as I understand strings are internally mostly encoded in ec (cork) with > escapes for the form <XXXX> (this is called texmacs universal encoding) if > I'm not wrong. There is part of the documentation which treats the source > code. Some it is outdated but it will give you an idea of the main internal > structures. Ok, I'll do some reading when I have the time. Thanks, ________________ Miguel de Benito.
_______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
