Raised This Month: $51 Target: $400
 12% 

Special Characters - Character set for HL - CS


Post New Thread Reply   
 
Thread Tools Display Modes
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 01-08-2010 , 09:11   Re: Special Characters - Character set for HL - CS
Reply With Quote #11

The two character trick works because the HL engine is reading it as if it where UTF-8 directly.

Like Arkshine & Owyn said, saving the sma file with UTF-8 character encoding will get you the same results.

Because á (á really is two bytes long) cost the same amount of bytes and is the same value of á.
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 01-08-2010 , 11:28   Re: Special Characters - Character set for HL - CS
Reply With Quote #12

Thanks Owyn.
__________________
ehha is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 01-08-2010 , 14:40   Re: Special Characters - Character set for HL - CS
Reply With Quote #13

Quote:
Originally Posted by Dygear View Post
The two character trick works because the HL engine is reading it as if it where UTF-8 directly.

Like Arkshine & Owyn said, saving the sma file with UTF-8 character encoding will get you the same results.

Because á (á really is two bytes long) cost the same amount of bytes and is the same value of á.
Exactly. All 1byte characters (The ones from ASCII) will be the same in UTF-8, though the ASCII Extended are not the same.
01101101 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-08-2010 , 19:50   Re: Special Characters - Character set for HL - CS
Reply With Quote #14

amx_editor do that conversion for me
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 02-05-2010 , 14:04   Re: Special Characters - Character set for HL - CS
Reply With Quote #15

Is there a codes for these characters?


Ą Č Ę Ė Į Š Ų Ū Ž ? Thank you!
reinert is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-05-2010 , 14:06   Re: Special Characters - Character set for HL - CS
Reply With Quote #16

Save you file as UTF-8 without BOM.
__________________
Arkshine is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 02-05-2010 , 15:46   Re: Special Characters - Character set for HL - CS
Reply With Quote #17

Quote:
Originally Posted by reinert View Post
Is there a codes for these characters?


Ą Č Ę Ė Į Š Ų Ū Ž ? Thank you!
Should be

Ä„ ÄŒ Ę Ä– Ä® Å* Ų Ū Ž
01101101 is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 02-05-2010 , 17:15   Re: Special Characters - Character set for HL - CS
Reply With Quote #18

Thanks! buy maybe you can post a codes for a small ones not a big's ?
reinert is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 02-05-2010 , 17:21   Re: Special Characters - Character set for HL - CS
Reply With Quote #19

Quote:
Originally Posted by reinert View Post
Thanks! buy maybe you can post a codes for a small ones not a big's ?
You mean lowercase?

Just write the chars you want and I convert them.
01101101 is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 02-05-2010 , 17:26   Re: Special Characters - Character set for HL - CS
Reply With Quote #20

oh okey,

Ą Č Ę Ė Į Š Ų Ū Ž
ą č ę ė į š ų ū ž
reinert is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode