Special Characters - Character set for HL - CS
I know there are several ways to use this characters, this is just one
Never wanted to use accents or other stuff in your plugins? Here is a way of doing that. CS uses UTF-8 codification, however, when we write a plugin chances are that use either ANSI or ASCII depending on the editor. Besides all this technical stuff, its actually pretty simple to use special characters. Just instead of writing for example PHP Code:
We write PHP Code:
Code:
Te mat Code:
= á If you want any other character, please tell me. And, allthough it may look the same the transformation, just copypaste it, will work. |
Re: Special Characters - Character set for HL - CS
Ah, I've been looking for this :)
|
Re: Special Characters - Character set for HL - CS
How can we use a ; in cs?
|
Re: Special Characters - Character set for HL - CS
Quote:
UTF-8 is compatible with ASCII. Any of this chars http://www.asciitable.com/ (ASCII, NOT ASCII EXTENDED) will work without any change. |
Re: Special Characters - Character set for HL - CS
; looks like a , in the chat.
|
Re: Special Characters - Character set for HL - CS
Nice trick, good job.
|
Re: Special Characters - Character set for HL - CS
If you are going to do that, it would be more appropriate to do a language file, keeping the normal way but saving the file as UTF-8 without BOM. It's easy to do, and easy to add/remove/update sentences.
|
Re: Special Characters - Character set for HL - CS
just encode your .sma file into UTF-8 , all symbols would appear as they should
|
Re: Special Characters - Character set for HL - CS
Quote:
|
Re: Special Characters - Character set for HL - CS
notepad -> save as, below name is how it saved ANSI or UTF-8, but you need "UTF-8 without BOM" which isn't there, so i suggest downloading notepad+ then encode menu
|
All times are GMT -4. The time now is 22:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.