Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Other hexagora products
 Programs (Programmi)
 [HELP] unicode to utf8 conversion

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sfi_dev Posted - 10 Jul 2012 : 09:52:45
hi, when converting from unicode to utf8, the utf8 representation can be quite a bit longer than the unicode text especially when double byte is involved.

So for example #30011;#20687;#26908;#32034; converts to 12 utf8 characters ????.

Has anyone written a formula or found a way to reduce the length of the produced utf8 characters so they can fit into existsing tables without having to increase table columns ?

Thank-you.

Julie
2   L A T E S T    R E P L I E S    (Newest First)
sfi_dev Posted - 11 Jul 2012 : 11:20:52
yeah I thought so.. to ensure integrity I am better off increasing the table sizes.. Thanks anyway :)
s.dav Posted - 11 Jul 2012 : 08:57:53
Umm, very difficult; if you talk about numbers or IP numbers you can save some bytes using a base 64 to 128 encoding, but when talking about text I don't know.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000