[Bf-committers] UTF8 text input status (on OS X)

Campbell Barton ideasman42 at gmail.com
Wed Nov 2 11:56:45 CET 2011


Strange this fails for you,

I've uploaded the blend file which works when stamping the rendered
image (because of the different font), but only displays correctly in
the UI for me with the patch applied.

http://www.graphicall.org/ftp/ideasman42/unicode_stamp.blend

On Wed, Nov 2, 2011 at 9:42 PM, Jens Verwiebe <info at jensverwiebe.de> wrote:
> I tested the patch but it changed nothing for me on OSX.
>
> BTW: pasting ÖÄÜ from a texteditor worked also before,
> so still unsure about the real background of the problem.
>
> Jens
>
>
>
>
>
> Am 02.11.2011 um 10:40 schrieb Campbell Barton:
>
>> On Wed, Nov 2, 2011 at 6:57 PM, Jens Verwiebe <info at jensverwiebe.de> wrote:
>>> Hi
>>>
>>> I followed your conversation and also contatcted Damien ( original GHOST_cocoa writer ) for
>>> send us a helping hand.
>>> I must say i also don´t think this is especially an OSX issue now, due i never had any problems
>>> handling unicode in OSX else.
>>> Must be a special case in Blender.
>>>
>>> Also all debug prints show up right outputs in several places.
>>> Again i like to point out that for example "öäüÖÄÜ" is only shown
>>> wrong in outliner ( "öäüOAU") but when exported to an external script
>>> ( luxblend here ), pby output was right sending it as "öäüÖÄÜ".
>>>
>>>
>>> I formerly got some misinformation on the state of usability in other OS, so this seems a more general problem.
>>>
>>> Thus i don´t see atm a needed change for OSX in GHOST rather than checking outliner and perhaps other modules.
>>>
>>> Jens
>>
>> Double checked and quite sure this is a font issue only, you can check
>> this by replacing blenders normal font with the mono font and "öäüÖÄÜ"
>> display correctly in the text button view.
>> patch for testing: http://www.pasteall.org/25991/diff
>>
>>
>> note: to get the text into blender I had to save the text to a utf8
>> encoded file, load the text in blenders text editor, then paste into a
>> text button field, copying directly from firefox gives invalid utf8
>> chars, but this shouldn't be an issue as long as input is utf8.
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
> _____________________________________
>
> Jens Verwiebe
> Allerskehre 44  -  22309 Hamburg
>
> Tel.: +49 40 68 78 50
> mobil: +49 172 400 49 07
> mailto: info at jensverwiebe.de
> web:  http://www.jensverwiebe.de
> _____________________________________
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list