How do I display Ü for Windows?


#1

Hi all,

I am porting my latest product, ValhallaÜberMod, to Windows today. Everything is going swimmingly, except that this code

ends up displaying Ãber in the GUI. And ValhallaÃberMod just doesn’t make sense.

What should I do here?

Thanks,

Sean Costello


#2

Hi.

In the Introjucer you have ‘UTF-8 String-Literral Helper’ (under ‘Tools’).

You type your text there and you get the stuff you need to add to your code.


#3

[quote=“Shlomi”]Hi.

In the Introjucer you have ‘UTF-8 String-Literral Helper’ (under ‘Tools’).

You type your text there and you get the stuff you need to add to your code.[/quote]

I just downloaded the latest tip (I’m not working out of the tip - I have a branch that is stable for my purposes), compiled the Introjucer, and I don’t see any Tools area. Where do I find this?

Sean Costello


#4

CharPointer_UTF8 (“Valhalla\xc3\x9c\x62\x65rMod”) is what you need:


#5

I’m still not seeing that Tools entry in the taskbar of my Introjucer - it just says “Update.” But the code you posted works for my purposes, so thanks!

Sean Costello


#6

No problem.

I think you need to close the update window for the main window to appear or just open a ‘.jucer’ file.


#7

(That UTF8 converter’s only in the latest modules branch, BTW)


#8

For those not used to git you need the following:

to show all the remote branches

$ git branch -r
  origin/HEAD -> origin/master
  origin/master
  origin/modules

to track origin/modules with a local branch called modules:

$ git branch --track modules origin/modules
Branch modules set up to track remote branch modules from origin.

then you need to switch to that branch and you can fetch / pull to update it

$ git checkout modules
Switched to branch 'modules'