Accent & breakline problem

Nov 19, 2009 at 12:22pm

Accent & breakline problem

I’m using objet, and i want to making subtitles in french over video.
But, I’ve some trouble with accent in my patch with textedit object.

I’ve tried lot of things, but found no solution.

And, in second time, i want to save the content of textedit objet in a xml file. But i ve trouble with breakline : the text is saved as one line evenif there is multiple line in my textedit. A solution ?

So maybe, i’m not using the good objet for my aim. can you give me an advise ?

(as you can see, my english…, but maybe the patch will be more comprehensive)

Thank you !

– Pasted Max Patch, click to expand. –
Nov 20, 2009 at 9:27am


Hope that helps.

POST SCRIPTUM : I didn’t think about how to save it in XML ; have you tried [pattrstorage] way ?

Nov 20, 2009 at 11:24am

Ok, thanks you, its help me to find where is the matter.

Resume :
I’ve two probleme : accent & breakline.
With your solution, I can have accent, but, no breakline. (enter returns me a square on screen)

To have breakline, i should use textedit> route text > jit.jtr.fromsymbol> jit.texfile > jit.matrix. But in this way, i cannot have the accent. I’ve tried different things, search on forum, but dont find a solution with this 2 data.

About the xml, yes im using a pattrstorage.
It takes the value of the field but no textformat. So it doesnt record the breaklines, just text.
My question : is there a symbol that i can use in the textedit for breakline which is interpret like this in xml ?

Or can i filter the textedit ?
Like in text edit :
“faehfiae # fvuohou”
And, on screen :
So, a filter witch interpret #symbol as a breakline.
I think it could be a good solution, cause i dont have to touch the xml files system. And also, maybe the accent will be back !

If you have some ideas, you’re welcome !

Nov 20, 2009 at 4:37pm

Hello Benjamin,

Sorry, i didn’t read your first post seriously. Wink

Here another patch ; it does the job (i hope).

Nov 26, 2009 at 7:24pm

Thanks lots!
I cant open it. Cause of the new forum… I cannot have the link.
Can you past the patch in the forum ?

Thanks, again.

Nov 27, 2009 at 8:52am

Hello benjamin,

bad news : i don’t keep patches on my HD.
Good news : i do it again, just for you.

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.