x


Uniscite : how to set default Encoding

To see latin characters and accentuation, you need to set your script encoding to UCS-2 Little Endian or other types of encoding rather than the starting "Code Page Property". That's all very nice but every script tha does some call to GUI and use those characters need to be setted to this encoding manually. Is there any way to configure Uniscite to choose your default encoding?

I tried checking the file commented on http://answers.unity3d.com/questions/242/how-to-always-display-line-numbers-in-uniscite but couldn't find the right line.

more ▼

asked Jan 10 '11 at 06:56 PM

Bravini gravatar image

Bravini
1.1k 6 11 29

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Personally I'd recommend switching to Notepad++, which is also based on SciTE, so will feel familiar, but has more features and a proper UI for settings.

If you want to stay with UniSciTE, my config file has the following settings, one of which is likely what you're looking for ...

# Internationalisation
# Japanese input code page 932 and ShiftJIS character set 128
#code.page=932
#character.set=128
# Unicode
#code.page=65001
code.page=0
#character.set=204
# Required for Unicode to work on GTK+:
#LC_CTYPE=en_US.UTF-8
#output.code.page=65001
more ▼

answered Jan 10 '11 at 09:51 PM

yoyo gravatar image

yoyo
6.4k 25 39 84

couldn't get it to work, think I will go back to notepad++

Jan 17 '11 at 05:39 PM Bravini

I usually open the .cs file with another text editor such as Visual Studio and I do change the encoding there. As for changing the encoding on defaults unity editor, I dunno.

Sep 03 '12 at 07:49 PM biohazard2u
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5051
x260
x61
x14

asked: Jan 10 '11 at 06:56 PM

Seen: 2011 times

Last Updated: Sep 03 '12 at 07:49 PM