Welcome Guest, Not a member yet? Register   Sign In
encoding problem with oracle
#1

[eluser]mertcakmak[/eluser]
hi,
i have a problem with codeigniter when using oracle. my all views, controllers and models are utf-8 and my db values. but i was seeing bad character in query return values. how can i fix this, or where did i make a mistake ?
#2

[eluser]TheFuzzy0ne[/eluser]
Is your text editor set to use UTF8 encoding without the [url="http://en.wikipedia.org/wiki/Byte-order_mark"]BOM[/url]?
#3

[eluser]mertcakmak[/eluser]
yes, im choosing utf-8. the other option is "save with BOM".
#4

[eluser]TheFuzzy0ne[/eluser]
Please post an example of some text containing weird characters, and post what it should look like.
#5

[eluser]mertcakmak[/eluser]
"Kullan�c� Tan�mlar�"
it must be
"Kullanıcı Tanımları"
#6

[eluser]TheFuzzy0ne[/eluser]
How does it display when you look at it through your database administration interface (PHPMyAdmin or equivalent)? Have you set the encoding in your HTML page?
#7

[eluser]mertcakmak[/eluser]
im seeing without weird characters on toad, only rendering database values in views. all views, controllers, models are utf-8.
#8

[eluser]TheFuzzy0ne[/eluser]
Any chance of a link to the a page where this is happening, or the original source code in a zip file?




Theme © iAndrew 2016 - Forum software by © MyBB