Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bsowers

Pages: [1]
1
NGUI 3 Support / Re: Quotes in Localization.csv
« on: April 30, 2014, 07:04:55 AM »
None of those do it.

It looks like there's an attempt in ByteReader.cs to support it by using two double quotes (""), but the code isn't applied everywhere it needs to be. I was able to work around this issue by modifying everything added to mTemp to first go through this: .Replace("\"\"", "\"")

2
NGUI 3 Support / Quotes in Localization.csv
« on: April 29, 2014, 05:59:03 PM »
Using the newer localization system, I'm trying to embed quotes in my strings. Using an escaped quote (\") doesn't seem to work. It looks like NGUIs csv parser is just doing a naive break on quotes and doesn't provide a way to embed them.

Is there a workaround for this?

3
NGUI 3 Support / Asian Language Word Wrapping
« on: January 13, 2014, 12:37:44 PM »
NGUIText.WrapText definitely assumes space-separated words, and thus word wrapping behaves poorly for most Asian languages where spaces aren't used as delimiters. Further, most Asian languages have fun requirements where certain characters can't begin/end on a line (English has similar requirements, but they're mostly covered as a side-effect of using space as a separator).

There are very few libraries out there to tackle this (libtextwrap is one), and I haven't found any that would be particularly easy to integrate into NGUI. It's not a trivial problem, which is to say it's not something I want to implement on my own.  :)

Has anyone out there tackled this? Is it anywhere on the NGUI roadmap?

Pages: [1]